-
Notifications
You must be signed in to change notification settings - Fork 62
Description
The tokenizer test case format doesn't have attributes for end tags, and it seems you're supposed to just ignore them and give a parse error (you can see an example in test1 with "<h></h a='b'>").
However, looking at the Tokenization section of the whatwg parsing spec, I don't see any step in the state machine saying to drop the attributes from end tags.
In fact I see a line saying "When an end tag token is emitted with attributes, that is an end-tag-with-attributes parse error." which seems to indicate that you *do* emit end tag tokens with attributes.
Similarly, the table of parse errors just says that the attributes in end tags are ignored and don't make it into the DOM, which again to me suggests that they exist in the token, but not in the DOM.
Is this a deficiency in the tests or am I missing/misunderstanding some part of the spec?