[Webkit-unassigned] [Bug 98988] New: Setting the body element's outerHTML causes another <head> tag to be added to DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 10 21:02:16 PDT 2012


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

           Summary: Setting the body element's outerHTML causes another
                    <head> tag to be added to DOM
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bradavogel at gmail.com


Created an attachment (id=168137)
 --> (https://bugs.webkit.org/attachment.cgi?id=168137&action=review)
test case

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14

Steps to reproduce the problem:
1. Run the attached test case.

What is the expected behavior?
The alert dialog shows "Number of head tags: 1"

What went wrong?
Instead, the alert dialog shows "Number of head tags: 4". Apparently setting the outerHTML of the body element will add extra <head> tags to the DOM.

-- 
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