[whatwg] Error in Comment start dash state (8.2.4.19)

Jonas Sicking jonas at sicking.cc
Fri Dec 12 16:52:15 PST 2008


Currently tokenizing the following string (starting at Data state)
"<!--foo" results in a parse error when hitting the 'f'. It seems like
the error is in the "Comment start dash state" (section 8.2.4.19). It
should switch to 'comment state' when a '-' is consumed, which is not
what it currently does.

/ Jonas



More information about the whatwg mailing list