Closed Bug 1684605 Opened 3 years ago Closed 6 months ago

Implement @property at-rule

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1273706

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

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?

The related bug in Webkit (Safari): https://bugs.webkit.org/show_bug.cgi?id=189692

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.

@property was recently enabled in WebKit: https://bugs.webkit.org/show_bug.cgi?id=249774

See Also: → 1821552

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.)

Blocks: interop-2023
Keywords: dev-doc-needed
No longer blocks: interop-2023

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

Keywords: dev-doc-needed
Depends on: 1833538
Depends on: 1833539
Depends on: 1833540
No longer depends on: 1833538, 1833539
Blocks: 1841023
Attachment #9345316 - Attachment is obsolete: true

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).

Status: NEW → RESOLVED
Closed: 6 months ago
Duplicate of bug: css-properties-values-api
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: