[Webkit-unassigned] [Bug 11397] New: Style tag inside body gets moved into the head

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 24 04:28:16 PDT 2006


           Summary: Style tag inside body gets moved into the head
           Product: WebKit
           Version: 419.x
          Platform: Macintosh PowerPC
               URL: http://www.fredck.com/bugs/safari/stylemove.htm
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: fredck at fredck.com

If you have a <style> element inside <body>, it get moved to <head> when
parsing. While this behavior is ok for rendering purposes, it is not what users
expect when  navigating the DOM.

Browsers should maintain the elements position as specified in the source, even
if is completely wrong to have a <style> inside <body>.

The provided URL is a TC for it.

A related bug has been filed in the FCKeditor project:

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