mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-17 16:42:54 +00:00
The HTML tokenizer specification says that we're supposed to do this when leaving the Attribute name or when emitting the token, as appropriate. Hopefully 'as appropriate' can mean only when emitting the token, as that's the easiest place to insert this logic without complicating the tokenizer any more.
8 lines
197 B
Text
8 lines
197 B
Text
divs[0].id: fred
|
|
divs[0].className: math
|
|
divs[1].id: spaghetti
|
|
divs[1].className:
|
|
divs[2].getAttribute("grape"): foo
|
|
divs[0].numAttributes: 2
|
|
divs[1].numAttributes: 2
|
|
divs[2].numAttributes: 1
|