unquoted-attributes: Single hyphen treated as valid CSS identifier
Closed this issue · 2 comments
kgram commented
https://mothereff.in/unquoted-attributes#-
A CSS identifier cannot be exactly a single hyphen. See http://stackoverflow.com/questions/34771373/unquoted-hyphen-in-attribute-selector.
mathiasbynens commented
Thanks! This is now fixed in the tool, and https://mathiasbynens.be/notes/unquoted-attribute-values has been updated accordingly.
kgram commented
Great. Thank you for a fantastic tool.