-
Notifications
You must be signed in to change notification settings - Fork 657
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
[css-transitions] clarify that the all
keyword used in transition-property
applies to custom properties
#8456
Comments
I'm not sure it's supposed to? The The intention for a long time has been that we would have a '--' property that was a shorthand for all custom properties, identical to 'all', so you could animate all custom properties with That said, there's probably nothing particularly wrong with having the |
I'm in support of making the While I have this preference, it's a lot more important to have something clearly spec'd either way. |
It's not at all a knock or a judgement, it's a simple application of the rule for shorthand properties. 'all' is not a shorthand for custom props. |
Understood, but the |
I think |
Note that We were considering a new keyword that would include all discrete properties too. |
I don't think it's observable whether
The difference is that, if Edit: nevermind, the resolution was to also allow transitions of discrete properties. |
The
all
keyword used in thetransition-property
property is defined as such:I think it would help to explicitly call out that all properties includes custom properties. As of this writing, Chrome does not transition registered custom properties when
transition-property: all
is used, and Safari does not either although WebKit/WebKit#10142 will correct this.I think it would be useful to clarify as well to clearly distinguish with the
all
property which specifically calls out that it excludes custom properties:Cc @birtles @flackr
The text was updated successfully, but these errors were encountered: