[Webkit-unassigned] [Bug 57537] New: Setting document.title doesn't affect title of XHTML documents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 31 03:41:06 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57537

           Summary: Setting document.title doesn't affect title of XHTML
                    documents
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: evan at chromium.org


This snippet has different behavior in HTML vs XHTML documents:

<head><title id='t'>test</title></head>
<body>
<script>document.title = 'foo';
console.log(document.getElementById('t').innerText);</script>

In HTML, we update the <title> tag.  In XHTML, we don't.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list