This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Step #4.1 of Section 9.5 (Parsing HTML Fragments) says: "If it is a style, script, xmp, iframe, noembed, or noframes element: Switch the tokenizer to the RAWTEXT state." However, the removal of the content model state, and the corresponding addition of the "script data" state to the tokenizer have made this outdated. I think you need to split "style" out here and say that a "style" tag requires that you switch the tokenizer to the "Script Data" state, which also matches the new tree construction algorithm (9.2.5.7 The "in head" insertion mode for a start tag named "script). -Matt
Sorry, I meant "script" tags, not "style" tags!
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Done, but it actually makes no practical difference.
Checked in as WHATWG revision r4457. Check-in comment: Update the fragment parsing algorithm to handle <script> more theoretically properly. And mention a quicker implementation strategy. http://html5.org/tools/web-apps-tracker?from=4456&to=4457