Changeset 19038 in webkit


Ignore:
Timestamp:
Jan 22, 2007 8:00:54 PM (17 years ago)
Author:
bdash
Message:

2007-01-22 Mark Rowe <mrowe@apple.com>

Reviewed by Maciej.

http://bugs.webkit.org/show_bug.cgi?id=11692
Bug 11692: REGRESSION(r17352): Disappearing page title

  • dom/Document.cpp: (WebCore::Document::setTitle): If the title has already been set explicitly via JavaScript, ignore any changes to it due to encountering <title> tags.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r19037 r19038  
     12007-01-22  Mark Rowe  <mrowe@apple.com>
     2
     3        Reviewed by Maciej.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=11692
     6        Bug 11692: REGRESSION(r17352): Disappearing page title
     7
     8        * dom/Document.cpp:
     9        (WebCore::Document::setTitle): If the title has already been set explicitly via JavaScript,
     10        ignore any changes to it due to encountering <title> tags.
     11
    1122007-01-22  Mitz Pettel  <mitz@webkit.org>
    213
  • trunk/WebCore/dom/Document.cpp

    r18758 r19038  
    817817        m_titleElement = 0;
    818818    } else if (titleElement != m_titleElement) {
    819         if (m_titleElement)
     819        if (m_titleElement || m_titleSetExplicitly)
    820820            // Only allow the first title element to change the title -- others have no effect.
    821821            return;
Note: See TracChangeset for help on using the changeset viewer.