[Bug 6038] New: "noframes", "script", "style", "title" in 'after head' mode pop prematurely

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6038

           Summary: "noframes", "script", "style", "title" in 'after head'
                    mode pop prematurely
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


Now that the tree builder is specified to be purely tokenizer push as opposed
to being tree builder pull at times, the steps for "noframes", "script",
"style", "title" in after head aren't quite right.

The steps involve popping the current node (claimed to be head) off the stack
as the last step. However, the actions of the previous step have now changed,
so this no longer makes sense (the current node won't be head and popping at
this stage no longer makes sense).

Possible fixes:
 * Make </head> not pop head, so space characters, comments and "base", "link",
"meta", "noframes", "script", "style", "title" after </head> simply get
appended to head.
 * Make "noframes", "script", "style", "title" set a flag that tells the end
tag processing for those pop an extra time. (This is what the Validator.nu HTML
Parser already does.)


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 8 September 2008 10:03:39 UTC