[csswg-drafts] [css-transitions] clarify that the `all` keyword used in `transition-property` applies to custom properties (#8456)

graouts has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transitions] clarify that the `all` keyword used in `transition-property` applies to custom properties  ==
The [`all`](https://drafts.csswg.org/css-transitions-1/#valdef-transition-property-all) keyword used in the [`transition-property`](https://drafts.csswg.org/css-transitions-1/#propdef-transition-property) property is defined as such:

>  the keyword `all` […] indicates that all properties are to be transitioned.

I think it would help to explicitly call out that _all properties_ also includes [custom properties](https://drafts.csswg.org/css-variables-2/#custom-property). As of this writing, Chrome does not transition registered custom properties when `transition-property: all` is used, and Safari does not either although https://github.com/WebKit/WebKit/pull/10142 will correct this.

I think it would be useful to clarify as well to clearly distinguish with the [`all` property](https://drafts.csswg.org/css-cascade-5/#propdef-all) which specifically calls out that it _excludes_ custom properties:

> The [all](https://drafts.csswg.org/css-cascade-5/#propdef-all) property is a [shorthand](https://drafts.csswg.org/css-cascade-5/#shorthand-property) that resets all CSS properties except [direction](https://drafts.csswg.org/css-writing-modes-3/#propdef-direction) and [unicode-bidi](https://drafts.csswg.org/css-writing-modes-3/#propdef-unicode-bidi). It only accepts the [CSS-wide keywords](https://www.w3.org/TR/css-values/#common-keywords). It does not reset [custom properties](https://drafts.csswg.org/css-variables-2/#custom-property) [[css-variables-1]](https://drafts.csswg.org/css-cascade-5/#biblio-css-variables-1).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8456 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 15 February 2023 16:08:08 UTC