-
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 global attributes such as hidden="" #5417
Labels
meta
Changes to the ecosystem around the standard, not its contents
Comments
hober
added
the
meta
Changes to the ecosystem around the standard, not its contents
label
Mar 30, 2020
There's at least one instance of |
Lots of relevant discussion in #5418 as well. |
Fwiw MathML-Core had approximately the same idea (need) of wanting to link to global attributes... |
domenic
added a commit
that referenced
this issue
Sep 15, 2020
Closes #5417. Previously many of these were marked up as element-attr, but without a for="", which is invalid according to the Bikeshed linking contract. dir="" was especially messed up, with its *values* marked up as element-attr, but the attribute itself not marked up at all. This includes some other related fixes such as: * Unifying the inconsistent definition location for these attributes. Sometimes they would be defined in their section headers; sometimes separately. Now they are all defined separately. * Marking up some of the related IDL attributes. * Delegating definitions of xml:space, xml:lang, and the style IDL attribute to other specifications, instead of re-defining them in HTML.
domenic
added a commit
that referenced
this issue
Sep 15, 2020
Closes #5417. Previously many of these were marked up as element-attr, but without a for="", which is invalid according to the Bikeshed linking contract. dir="" was especially messed up, with its *values* marked up as element-attr, but the attribute itself not marked up at all. This uses for="global" for any-namespace elements and for="html-global" for HTML elements. This includes some other related fixes such as: * Unifying the inconsistent definition location for these attributes. Sometimes they would be defined in their section headers; sometimes separately. Now they are all defined separately. * Marking up some of the related IDL attributes. * Delegating definitions of xml:space, xml:lang, and the style IDL attribute to other specifications, instead of re-defining them in HTML.
domenic
added a commit
that referenced
this issue
Sep 23, 2020
Closes #5417. Previously many of these were marked up as element-attr, but without a for="", which is invalid according to the Bikeshed linking contract. dir="" was especially messed up, with its *values* marked up as element-attr, but the attribute itself not marked up at all. This uses for="global" for any-namespace elements and for="html-global" for HTML elements. This includes some other related fixes such as: * Unifying the inconsistent definition location for these attributes. Sometimes they would be defined in their section headers; sometimes separately. Now they are all defined separately. * Marking up some of the related IDL attributes. * Delegating definitions of xml:space, xml:lang, and the style IDL attribute to other specifications, instead of re-defining them in HTML.
mfreed7
pushed a commit
to mfreed7/html
that referenced
this issue
Sep 25, 2020
Closes whatwg#5417. Previously many of these were marked up as element-attr, but without a for="", which is invalid according to the Bikeshed linking contract. dir="" was especially messed up, with its *values* marked up as element-attr, but the attribute itself not marked up at all. This uses for="global" for any-namespace elements and for="html-global" for HTML elements. This includes some other related fixes such as: * Unifying the inconsistent definition location for these attributes. Sometimes they would be defined in their section headers; sometimes separately. Now they are all defined separately. * Marking up some of the related IDL attributes. * Delegating definitions of xml:space, xml:lang, and the style IDL attribute to other specifications, instead of re-defining them in HTML.
mfreed7
pushed a commit
to mfreed7/html
that referenced
this issue
Sep 25, 2020
Closes whatwg#5417. Previously many of these were marked up as element-attr, but without a for="", which is invalid according to the Bikeshed linking contract. dir="" was especially messed up, with its *values* marked up as element-attr, but the attribute itself not marked up at all. This uses for="global" for any-namespace elements and for="html-global" for HTML elements. This includes some other related fixes such as: * Unifying the inconsistent definition location for these attributes. Sometimes they would be defined in their section headers; sometimes separately. Now they are all defined separately. * Marking up some of the related IDL attributes. * Delegating definitions of xml:space, xml:lang, and the style IDL attribute to other specifications, instead of re-defining them in HTML.
mfreed7
pushed a commit
to mfreed7/html
that referenced
this issue
Sep 25, 2020
Closes whatwg#5417. Previously many of these were marked up as element-attr, but without a for="", which is invalid according to the Bikeshed linking contract. dir="" was especially messed up, with its *values* marked up as element-attr, but the attribute itself not marked up at all. This uses for="global" for any-namespace elements and for="html-global" for HTML elements. This includes some other related fixes such as: * Unifying the inconsistent definition location for these attributes. Sometimes they would be defined in their section headers; sometimes separately. Now they are all defined separately. * Marking up some of the related IDL attributes. * Delegating definitions of xml:space, xml:lang, and the style IDL attribute to other specifications, instead of re-defining them in HTML.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to autolink to the
hidden
attribute from a Bikeshed document with<{element/attribute}>
syntax, but I've run into two problems:<{element/attribute}>
syntax, what shouldelement
be for global attributes? @tabatkins says "What to make a global definition 'for' is up to the language. I'd recommend either 'global' or 'html'."Originally raised as speced/bikeshed#1606.
The text was updated successfully, but these errors were encountered: