-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Export attributes common to form controls (e.g. autocomplete) and their values (e.g. autocomplete=one-time-code) #5418
Comments
cc @tabatkins |
Ultimately up to the spec; there's no good generalized answer. I suggest maybe |
That sounds reasonable. We should probably document somewhere what we use so we can make consistent choices here. |
Yup, happy to update Bikeshed docs with this (and whatever we decide for global attributes) |
I had a look at our data-dfn-for usage for element-related things:
There isn't much of it at all. |
Yes, the
Yeah, I'd probably make that more generic. Either
These are correct, that's the interface they're attached to. |
I think the correct value for these is the list of applicable elements in a comma-separated list. For example, <dfn element-attr for="button,fieldset,input,output,select,textarea,form-associated-ce"><code>name</code></dfn>
<dfn element-attr for="button,input,optgroup,option,select,textarea,form-associated-ce"><code>disabled</code></dfn>
... |
Any progress on this? |
I'd like to autolink to the
autocomplete
attribute'sone-time-code
value from a Bikeshed document with<{element/attribute/attribute value}>
syntax, but I've run into two problems:element
be for attributes common to form controls?The text was updated successfully, but these errors were encountered: