This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6213 - Noscript content model with script allows fragment parse errors
Summary: Noscript content model with script allows fragment parse errors
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 13:28 UTC by Simon Pieters
Modified: 2010-10-04 14:32 UTC (History)
4 users (show)

See Also:


Attachments

Description Simon Pieters 2008-11-10 13:28:09 UTC
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>