Intent to Prototype: CSS gradient easing functions

119 views
Skip to first unread message

Keith Cirkel

unread,
Dec 15, 2025, 10:01:24 AM (3 days ago) Dec 15
to dev-pl...@mozilla.org
Summary:
  Prototype out the feasibility of implementing easing functions as stops inside of CSS gradients (https://github.com/w3c/csswg-drafts/issues/1332).

Bug:

Specification:
  None yet. To be worked on by CSS WG.

Standards Body:
  W3C

Platform coverage:
  all.

Preference:
  layout.css.gradient-stop-easing-functions.enabled

DevTools bug:
  N/A

Link to standards-positions discussion:

Other browsers:
  Blink: No Signal.
  WebKit: No Signal.

web-platform-tests:
  None yet, will be written during prototyping phase.

Jake Archibald and I have been discussing CSS easing functions inside of gradients. I've prototyped a very rough implementation of them, and so I think it's likely worth announcing as much here. The intent will be to continue with the prototype and try to discover any obvious pitfalls, and use the patch as an opportunity to solicit more feedback from developers and our browser engineer colleagues as a solution emerges.

I want to stress how early this is in the prototyping phase. This is just an idea, and has no formal specification or any tests to speak of yet, and so may take some time before it is anywhere close to production ready, if ever.

Martin Thomson

unread,
Dec 15, 2025, 7:34:56 PM (3 days ago) Dec 15
to Keith Cirkel, dev-pl...@mozilla.org
Hi Keith,

If it helps, consider using the github.com/mozilla/explainers repo to sketch out an explainer.

--
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 visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/363d6581-64c5-417b-a2a1-59844fad3164%40app.fastmail.com.

Nicolas Chevobbe

unread,
Dec 16, 2025, 2:18:47 AM (3 days ago) Dec 16
to dev-pl...@mozilla.org, Martin Thomson, dev-pl...@mozilla.org, moz...@keithcirkel.co.uk
I guess it would be nice to adapt it for gradient easing function as well.
We also have this bug https://bugzilla.mozilla.org/show_bug.cgi?id=706102 to have a gradient editor, it might be a good idea to do it and think of a way to integrate the easing editor into it

Did you file a bug for this Keith?
Also you're mentioning a patch, is it available somewhere? It might be interesting to put it on Phabricator as WIP so people can test it out?


To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform+unsubscribe@mozilla.org.

Keith Cirkel

unread,
6:28 AM (11 hours ago) 6:28 AM
to Nicolas Chevobbe, dev-pl...@mozilla.org, Martin Thomson
No bug yet, but a WIP patch for folks to try is here: https://phabricator.services.mozilla.com/D276657

I'd like to re-iterate and stress; this is a low priority piece of "extra curricular" work, and is not part of the priorities for the Web Platform team.
Reply all
Reply to author
Forward
0 new messages