Implement @property at-rule
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: sebo, Unassigned)
References
(Blocks 1 open bug, )
Details
(5 keywords)
Attachments
(1 obsolete file)
This bug is meant to track the implementation of the @property
at-rule defined in the CSS Houdini Properties and Values specification which allows to define custom properties in CSS.
Sebastian
Reporter | ||
Updated•3 years ago
|
Comment 1•2 years ago
|
||
This is a useful feature. See the Stack Overflow post: animating gradients in CSS for a use case.
Is there any estimate for when it will be implemented?
Comment 2•2 years ago
|
||
The related bug in Webkit (Safari): https://bugs.webkit.org/show_bug.cgi?id=189692
Comment 3•2 years ago
|
||
No estimate right now, though patches welcome? https://github.com/emilio/css-typed-om-syntax has a parser for the typed-om syntax that could be used to prototype this.
Comment 4•2 years ago
|
||
@property was recently enabled in WebKit: https://bugs.webkit.org/show_bug.cgi?id=249774
Reporter | ||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Removing dev-doc-needed
keyword since https://developer.mozilla.org/en-US/docs/Web/CSS/@property exists at this point. (Feel free to add back with details on what's needed if I'm missing something, though.)
Updated•2 years ago
|
Reporter | ||
Comment 6•2 years ago
|
||
Well, unless the MDN team works differently nowadays, dev-doc-needed
indicates that the related browser compatibility data entry needs to be updated once this feature landed.
I also assume that this will initially be implemented behind a pref. In that case it should also be documented at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features. So I added the keyword back.
Once there's a bug to ship @property
(maybe together with the DOM API), dev-doc-needed
should also be added there in order to update the browser compat data and remove it from the experimental features page again once that bug is closed.
Sebastian
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment hidden (admin-reviewed) |
Updated•1 year ago
|
Comment 38•1 year ago
|
||
Updated•1 year ago
|
Comment 39•11 months ago
|
||
Basic support for @property has landed in bug 1840476 and we have recently used bug 1273706 as a meta to refine the implementation. So marking this as a duplicate of bug 1273706 (which also has the dev-doc-needed flag BTW).
Description
•