[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


http://bugzilla.opendarwin.org/show_bug.cgi?id=7321

           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-
                    viewer/?%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody%3E%3Cstyl
                    e%3E%3C/style%3E%3C/body%3E%3C/html%3E%0A
        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


Summary:

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.

Regression:

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