[Webkit-unassigned] [Bug 17023] New: script element created with html element as parent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 26 10:16:37 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17023

           Summary: script element created with html element as parent
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh Intel
               URL: data:text/html,%3C!doctype%20html%3E%0A%3Cscript%3E%0Aif
                    %20(document.getElementsByTagName(%22script%22)%5B0%5D.p
                    arentNode.tagName.toUpperCase()%20%3D%3D%20%22HEAD%22)%0
                    A%09document.write(%22PASS%22)%0Aelse%0A%09document.writ
                    e(%22FAIL%22)%0A%3C%2Fscript%3E
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: geoffers+webkit at gmail.com


As the above test case shows, the script element can be created with the html
element as its parent. This apparently also exists in trunk, though I haven't
tested this myself.

I've occasionally seen link elements as a direct descendant of the html
element, but I've never been able to consistently reproduce this (even with a
single page) — possibly related?


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



More information about the webkit-unassigned mailing list