[Webkit-unassigned] [Bug 7321] New: REGRESSION: style tag in body causes two head elements to appear in the DOM

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Feb 16 21:48:06 PST 2006


           Summary: REGRESSION: style tag in body causes two head elements
                    to appear in the DOM
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://software.hixie.ch/utilities/js/live-dom-
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression
          Severity: normal
          Priority: P1
         Component: HTML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ddkilzer at kilzer.net


A <style> tag that appears in the <body> of an HTML document causes two <head>
elements to appear in the DOM.

Steps to reproduce:

1. Load an HTML document with a <style> tag in the <body> and a <head> element.
2. View the HTML document's DOM.  Ian Hixie's Live DOM Inspector works well,
too.  http://software.hixie.ch/utilities/js/live-dom-viewer/

Expected results:

The DOM should only have one HEAD element.

Actual results:

The DOM has two HEAD elements.


This is a regression from Safari 2.0.3 (417.8) on Mac OS X 10.4.5, which only
displays one HEAD element in the DOM.

Tested on WebKit nightly build r12864.

Configure bugmail: http://bugzilla.opendarwin.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