[Webkit-unassigned] [Bug 185816] New: Run clip-path animations on the compositor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 21 00:53:10 PDT 2018


            Bug ID: 185816
           Summary: Run clip-path animations on the compositor
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jaffathecake at gmail.com

http://output.jsbin.com/ticeve/quiet - this is a CSS animation. If you hit the 'jank' button (which causes the event loop to block), the reveal/hide part of the animation stutters.

It's common in UI for a transition to include scale/translation, but also some kind of revealing/hiding.

The former is easy to do entirely on the compositor, and avoid any kind of main thread jank, but the latter isn't.

You can kinda work around it by translating an element within an element that's overflow:hidden, but it gets complicated fast.

Ideally clip-path would work entirely on the compositor, and not jank like the demo page.

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/20180521/33539b1c/attachment.html>

More information about the webkit-unassigned mailing list