[whatwg] Error in Comment start dash state (8.2.4.19)
Jonas Sicking
jonas at sicking.cc
Fri Dec 12 17:01:30 PST 2008
On Fri, Dec 12, 2008 at 4:52 PM, Jonas Sicking <jonas at sicking.cc> wrote:
> 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.
One more thing I forgot to mention. Several of the states regarding
comments refer to outputting 'the comment token' and 'the comment
tokens data'. However there is no mention that I could find for when
the comment token is created. Maybe this isn't an error but a general
pattern?
/ Jonas
More information about the whatwg
mailing list