Intent to prototype: Houdini CSS Properties and Values API

216 views
Skip to first unread message

Zach Hoffman

unread,
Jun 29, 2023, 1:32:13 AM6/29/23
to dev-pl...@mozilla.org
Summary: Lets you register and use custom properties that have
* types
* customizable inheritance
* an initial value

using either the new @property at-rule in CSS or CSS.registerProperty()
in JavaScript.

Typed custom properties can also be interpolated in animations and
transitions.

Bug: <https://bugzil.la/1273706>

Specification:
<https://drafts.css-houdini.org/css-properties-values-api-1/>

Standards Body: CSS-TAG Houdini Task Force (W3C)

Platform coverage: All

Preference: layout.css.properties-and-values.enabled

DevTools bug: <https://bugzil.la/1840987>

Link to standards-positions discussion:
<https://github.com/mozilla/standards-positions/issues/93> and
<https://github.com/mozilla/standards-positions/issues/331> (@property)
web-platform-tests:
<https://wpt.fyi/results/css/css-properties-values-api>

Other browsers: Both Blink and WebKit are already shipping.

-Zach

Sebastian Zartner

unread,
Jun 29, 2023, 4:46:31 AM6/29/23
to Zach Hoffman, dev-pl...@mozilla.org
For what it's worth, I just filed the more general bug https://bugzil.la/1841021 for DevTools support.

Sebastian

--
You received this message because you are subscribed to the Google Groups "dev-pl...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAPp%3DCEz7fScrod12NWePMfGAwHz3B%3DrAHaKD3an3kEM1ff5TvA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages