Changeset 95009 in webkit
- Timestamp:
- Sep 12, 2011 8:50:01 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r95008 r95009 1 2011-09-12 Jacky Jiang <zhajiang@rim.com> 2 3 Setting document.title doesn't affect contents of title tag of XHTML documents 4 https://bugs.webkit.org/show_bug.cgi?id=57537 5 6 Reviewed by Alexey Proskuryakov. 7 8 * fast/dom/title-content-set-innerText-get-expected.txt: Added. 9 * fast/dom/title-content-set-innerText-get.xhtml: Added. 10 1 11 2011-09-12 Dominic Mazzoni <dmazzoni@google.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r95004 r95009 1 2011-09-12 Jacky Jiang <zhajiang@rim.com> 2 3 Setting document.title doesn't affect contents of title tag of XHTML documents 4 https://bugs.webkit.org/show_bug.cgi?id=57537 5 6 Reviewed by Alexey Proskuryakov. 7 8 Update the contents of the <title> tag of XHTML documents when setting 9 document.title. 10 11 Test: fast/dom/title-content-set-innerText-get.xhtml 12 13 * dom/Document.cpp: 14 (WebCore::Document::setTitle): 15 1 16 2011-09-12 Raphael Kubo da Costa <kubo@profusion.mobi> 2 17 -
trunk/Source/WebCore/dom/Document.cpp
r94513 r95009 1330 1330 // Title set by JavaScript -- overrides any title elements. 1331 1331 m_titleSetExplicitly = true; 1332 if (!isHTMLDocument() )1332 if (!isHTMLDocument() && !isXHTMLDocument()) 1333 1333 m_titleElement = 0; 1334 1334 else if (!m_titleElement) {
Note: See TracChangeset
for help on using the changeset viewer.