<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>185816</bug_id>
          
          <creation_ts>2018-05-21 00:53:10 -0700</creation_ts>
          <short_desc>Run clip-path animations on the compositor</short_desc>
          <delta_ts>2026-01-29 06:58:04 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>126207</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jake Archibald">jaffathecake</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>bramus</cc>
    
    <cc>dino</cc>
    
    <cc>pdr</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1425597</commentid>
    <comment_count>0</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2018-05-21 00:53:10 -0700</bug_when>
    <thetext>http://output.jsbin.com/ticeve/quiet - this is a CSS animation. If you hit the &apos;jank&apos; button (which causes the event loop to block), the reveal/hide part of the animation stutters.

It&apos;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&apos;t.

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

Ideally clip-path would work entirely on the compositor, and not jank like the demo page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1581886</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-10-21 10:46:25 -0700</bug_when>
    <thetext>Clip-path changes don&apos;t trigger repaints, but we don&apos;t run them in the compositor. I&apos;d have to see how to map them to CoreAnimation APIs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884179</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 13:43:47 -0700</bug_when>
    <thetext>Feature Request</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884180</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-15 13:43:49 -0700</bug_when>
    <thetext>&lt;rdar://problem/97091889&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176016</commentid>
    <comment_count>4</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2026-01-28 16:59:45 -0800</bug_when>
    <thetext>Chromium is getting close to launching this in https://crbug.com/40503852, and it would be amazing to have this more broadly available. I wonder if this feature would actually be somewhat straightforward to implement in Safari with a path animation on a CAShapeLayer?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>