Skip to content
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

Closed
hober opened this issue Mar 30, 2020 · 3 comments · Fixed by #5920
Closed

Export global attributes such as hidden="" #5417

hober opened this issue Mar 30, 2020 · 3 comments · Fixed by #5920
Assignees
Labels
meta Changes to the ecosystem around the standard, not its contents

Comments

@hober
Copy link
Contributor

hober commented Mar 30, 2020

I'd like to autolink to the hidden attribute from a Bikeshed document with <{element/attribute}> syntax, but I've run into two problems:

  • The spec doesn't appear to export it.
  • re: the Bikeshed <{element/attribute}> syntax, what should element 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.

@hober hober added the meta Changes to the ecosystem around the standard, not its contents label Mar 30, 2020
@annevk
Copy link
Member

annevk commented Mar 31, 2020

There's at least one instance of htmlsvg-global in the document. That would make this html-global I suppose, but I'm not sure that's the precedent to follow.

@hober
Copy link
Contributor Author

hober commented Apr 22, 2020

Lots of relevant discussion in #5418 as well.

@bkardell
Copy link
Contributor

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 domenic self-assigned this Sep 15, 2020
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
Labels
meta Changes to the ecosystem around the standard, not its contents
Development

Successfully merging a pull request may close this issue.

4 participants