[Bug 6213] New: Noscript content model with script allows fragment parse errors

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

           Summary: Noscript content model with script allows fragment parse
                    errors
           Product: HTML WG
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: simonp@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


noscript content model:

"In a head element, if the noscript element is without script, then the content
model of a noscript element must contain only link, style, and meta elements.
If the noscript element is with script, then the content model of a noscript
element is text, except that invoking the HTML fragment parsing algorithm with
the noscript element as the context element and the text contents as the input
must result in a list of nodes that consists only of link, style, and meta
elements."

This should say that there must be no parse error from the fragment parsing
algorithm.

Consider e.g.

<!doctype html><title></title><noscript><style></noscript>


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

Received on Monday, 10 November 2008 13:28:19 UTC