[Webkit-unassigned] [Bug 90373] New: A start "body" tag in the "in body" insertion mode is a parse error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 2 04:56:13 PDT 2012


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

           Summary: A start "body" tag in the "in body" insertion mode is
                    a parse error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skyul at company100.net


According to HTML5 specification (http://www.w3.org/TR/html5/tree-construction.html#parsing-main-inbody), a start "body" tag in the "in body" insertion mode is a parse error.


8.2.5.4.7 The "in body" insertion mode

...

-> A start tag whose tag name is "body"
Parse error.

If the second element on the stack of open elements is not a body element, or, if the stack of open elements has only one node on it, then ignore the token. (fragment case)

Otherwise, set the frameset-ok flag to "not ok"; then, for each attribute on the token, check to see if the attribute is already present on the body element (the second element) on the stack of open elements, and if it is not, add the attribute and its corresponding value to that element.

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