[whatwg] Parsing: Attributes in End Tags
Lachlan Hunt
lachlan.hunt at lachy.id.au
Tue Jan 31 00:17:17 PST 2006
Hi,
When tokenising an end tag, the tokeniser switches to the Tag Name
state (just like with a start tag). However, as a result, this now
becomes syntactically valid:
</p foo="bar">
There should be an easy parse error upon encountering the first
non-whitespace character (except for '>') after the tag name, but which
then continues to parse the attributes instead of just searching for the
first occurrence of '>' because of the way browsers handle </p foo=">">
--
Lachlan Hunt
http://lachy.id.au/
More information about the whatwg
mailing list