[Webkit-unassigned] [Bug 240061] New: [css-easing-2] Implement linear(...) easing function for css animations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 4 03:32:23 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240061

            Bug ID: 240061
           Summary: [css-easing-2] Implement linear(...) easing function
                    for css animations
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ntim at apple.com
                CC: dino at apple.com, graouts at apple.com

There's a draft spec here:
https://github.com/w3c/csswg-drafts/pull/6533
...which I think we could start implementing sometime soon.

Quoting that github pull-request:

    The overall goal is to allow something like:

    .whatever {
    animation-timing-function: linear(0, 0.003, 0.013, 0.03, 0.05, 0.08, 0.11, 0.15, 0.2, 0.26, 0.31, 0.38, 0.45, 0.53, 0.62, 0.71, 0.81, 0.9, 0.99, 0.94, 0.89, 0.85, 0.82, 0.79, 0.77, 0.76, 0.752, 0.75, 0.755, 0.77, 0.78, 0.81, 0.84, 0.87, 0.92, 0.97, 0.99, 0.97, 0.95, 0.94, 0.938, 0.94, 0.949, 0.96, 0.99, 0.994, 0.986, 0.985, 0.989, 1 100% 100%);
    }
    …which would graph like this:
    https://user-images.githubusercontent.com/93594/130435372-05471f97-7e33-4876-ac45-cc7073eb1f5c.png
    And here's a demo of how that would animate: https://static-misc-3.glitch.me/linear-easing/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220504/1aca5037/attachment-0001.htm>


More information about the webkit-unassigned mailing list