W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] "Script Data" tokenizer mode

From: Matt Hall <matthall@microsoft.com>
Date: Fri, 30 Oct 2009 19:44:45 +0000
Message-ID: <BED2AE15BBA8FA4E8FBC93E2E58DAF9C070C3FEB@TK5EX14MBXC120.redmond.corp.microsoft.com>
When the "script data" state was added to the tokenizer, the tree construction
algorithm was updated to switch the tokenizer into this state upon finding a
start tag named "script" while in the "in head" insertion mode (9.2.5.7). I see
that a corresponding change was not made to 9.5 about "Parsing HTML Fragments"
as it still says to switch into the RAWTEXT state upon finding a "script" tag.
Does anyone know if this difference is intentional, or did someone just forget
to update the fragment parsing case?

Thanks!
-Matt
Received on Friday, 30 October 2009 12:44:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC