-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When to use data-* attributes #2
Comments
Thanks for the ping. I agree that |
I also agree about |
@plinss that is a valid fear yes, but using Luckily the amount of new global attributes is quite low and some are even prefixed like the I assume that the |
Right, and I'm not proposing using
As much as XML namespaces had its issues, at least this was a problem that it solved. We lost something when we walked away from XML, and it would be nice to get the advantages back... |
@slightlyoff
I have had some discussion about
data-*
attributes and custom elements.I believe
data-*
attributes are for developers when they put together their app (using native and custom elements) and it is important that thedata-*
attributes are not being used by custom elements etc because then developers would have to start to worry about an attribute is being used or notThe text was updated successfully, but these errors were encountered: