Re: [csswg-drafts] [css-scoping] Handling global name-defining constructs in shadow trees (#1995)

> I was using the shorthand term of variables to refer to global name-defining constructs, which I incorrectly assumed was clear from the context of this discussion, but I digress :)

Ah, kk. Since CSS already explicitly has "Variables" as a thing, and they were brought up earlier in the conversation, it wasn't clear. ^_^

-----------

All the current global-name-defining constructs, and the inheritable context they're referenced in:

* `@font-face` (font-family)
* `@font-feature-values` (font-family, effectively)
* `@keyframes` (animation-name)
* `@counter-style` (list-style-type)
* `@color-profile` (color() function)
* `@font-palette-values` (font-palette)

This is based on a quick review of <https://drafts.csswg.org/indexes/#at-rules>; I note that this index is missing `@font-feature-values`, which implies there may be other at-rules that aren't marked up correctly and so aren't picked up by Bikeshed for the index.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1995#issuecomment-485591409 using your GitHub account

Received on Monday, 22 April 2019 23:50:07 UTC