jsdom / webidl2js

Auto-generate JS class structures for Web IDL specifications
MIT License
79 stars 30 forks source link

fix: setting of enumerated attribute case-sensitive #220

Closed zjffun closed 4 years ago

zjffun commented 4 years ago

keywords-and-enumerated-attributes

If an enumerated attribute is specified, the attribute's value must be an ASCII case-insensitive match for one of the given keywords that are not said to be non-conforming, with no leading or trailing whitespace.

domenic commented 4 years ago

This isn't correct. The section you're referring to is about enumerated attributes in HTML. It is not about enumerations in Web IDL.

zjffun commented 4 years ago

My wrong. 😳