-
Notifications
You must be signed in to change notification settings - Fork 27
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
Better support for @property
#158
Comments
Here an article where I am exploring the power of |
Back in 2018, Ana Tudor (@thebabydino) explored Gradients animation using this feature: https://css-tricks.com/the-state-of-changing-gradients-with-css-transitions-and-animations/ More articles around this: |
Regarding tests, I don't think we should filter out tests without "property". We should exclude this test unless typed om also becomes part of Interop 2023: https://wpt.fyi/results/css/css-properties-values-api/typedom.html The crashtests directory probably doesn't make sense to add (even if all engines would typically pass). There are some subtests that rely on other features that engines don't necessarily ship. I recently added a cycle test for the lh unit in unit-cycles.html, for instance. |
We may want to exclude tests which cover:
|
Custom properties or variables came up a fair bit in the State of CSS 2022 question about browser incompatibilities, mentioned in ~2% of responses, see #248. Examples from those responses:
|
In the MDN short survey on CSS & HTML, "CSS custom properties ( |
Thank you for proposing We are pleased to let you know that this proposal was accepted as the Custom Properties focus area. You can follow the progress of this Focus Area on the Interop 2023 dashboard. For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023! Posted on behalf of the Interop team. |
I guess that meant Custom Properties, not Container Queries. Sebastian |
Yes, of course! Sorry about the copypasta. |
Description
I will quote a few parts from the specification that should give clear description of the feature:
Rationale
A better way to animate things: Registered custom properties allow us to animate almost anything.
Syntax validation: A non-registered custom property can contain any value which can easily lead to errors. A registered custom property follow a syntax and cannot accept any values.
Chromium browser support this feature since too long (https://ishoudinireadyyet.com/) which leads us to the famous "Chrome-only" demos so it would be good to have a better support for such feature
It's part of the Houdini project so it closely linked to other features like the Paint API and the Layout API.
Specification
https://drafts.css-houdini.org/css-properties-values-api/
Tests
https://wpt.fyi/results/css/css-properties-values-api?label=master&label=experimental&aligned&view=subtest&q=property
The text was updated successfully, but these errors were encountered: