This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
For round-trippability and in order to avoid confusion with post-parsing mutations of attributes (the U12345 stuff), attributes on <embed> and data-* attributes should be required to be lowercase (in the ASCII range). This would also give authors less rope when trying mixed case for data-* attributes in text/html in markup and using the .dataset API.
I don't understand what this would mean. How would I phrase this in such a way that authors who are writing HTML wouldn't think it applied to them?
It does apply to them, but only when using the .dataset API, since, AFAICT, it's case sensitive. No? <body data-foo=bar> alert(document.body.dataset.FOO);
(In reply to comment #1) > I don't understand what this would mean. How would I phrase this in such a way > that authors who are writing HTML wouldn't think it applied to them? Names of data-* attributes and attributes on the embed element must not contain upper-case ASCII letters. Note: It is impossible to violate this requirement in the text/html serialization. Thus, the requirement concerns the XML serialization and the DOM.
I don't really like that but I'll figure something out I guess.