On Thu, May 8, 2014 at 6:49 PM, Brian Kardell <[email protected]> wrote: > What do the parsing rules say about what an attr may begin with? Is it > plausible to just leading underscore or leading dash them as in CSS so that > all that's really necessary is for HTML to avoid using those natively (not > hard, cause, why would you) and then you provide an easy hatch for good > authors and get decent protection without getting too crazy?
_test="" or -test="" works fine. However, if we advice developers to mint attributes like that and APIs like ele._test() I'd imagine they'd laugh at us. Not exactly a great improvement over the status quo. -- http://annevankesteren.nl/
