Intent to Prototype: linear() easing function

110 views
Skip to first unread message

David Shin

unread,
Jun 9, 2022, 3:45:29 PM6/9/22
to dev-pl...@mozilla.org
Summary: `linear()` function (A new value for CSS `easing-functions`) lets authors specify custom easing functions as piecewise linear functions.
Platform Coverage: all
Preference: layout.css.linear-easing-function.enabled
Other Browsers:
- Chrome: No signal, but spec author on Chrome team (Which is a reasonably strong sign of interest)

Nicolas Chevobbe

unread,
Jun 24, 2022, 8:47:51 AM6/24/22
to dev-pl...@mozilla.org, David Shin

That’s a nice addition, thank you David.

I quickly checked what would be the impact on DevTools and it looks like we don’t show the function timing editor icon in the rule view when using `linear()`, so I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1776382

We should probably think of what is the impact on the editor itself, as it only handles bezier curves at the moment. Is there anything we should take into consideration for this?
The good news is that the animation “curve” seems to be displayed properly in the animation panel.

Are you aware of any other possible impacts on DevTools, anything that could potentially break DevTools that we should know about in advance, so we have time to fix it?

David Shin

unread,
Jun 24, 2022, 9:13:37 AM6/24/22
to dev-pl...@mozilla.org, Nicolas Chevobbe, David Shin
Ah, https://bugzilla.mozilla.org/show_bug.cgi?id=1773549 was filed for devtools work and it corroborates what you mentioned.

Nicolas Chevobbe

unread,
Jun 24, 2022, 9:20:00 AM6/24/22
to David Shin, dev-pl...@mozilla.org
Ah I missed that, thanks a lot for filing the bugs
Reply all
Reply to author
Forward
0 new messages