[whatwg] "Script Data" tokenizer mode

Matt Hall matthall at microsoft.com
Fri Oct 30 12:44:45 PDT 2009


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



More information about the whatwg mailing list