<?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>196731</bug_id>
          
          <creation_ts>2019-04-09 05:56:24 -0700</creation_ts>
          <short_desc>clip-path rendering together with transform:matrix3d not Rendering</short_desc>
          <delta_ts>2019-11-14 15:17:01 -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>Layout and Rendering</component>
          <version>Safari 12</version>
          <rep_platform>All</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=204204</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Krisztian">krisztian</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>armel.larcier</cc>
    
    <cc>ben</cc>
    
    <cc>bfulgham</cc>
    
    <cc>b.houdusse</cc>
    
    <cc>jack</cc>
    
    <cc>laheen</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>wart.claes</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1525606</commentid>
    <comment_count>0</comment_count>
    <who name="Krisztian">krisztian</who>
    <bug_when>2019-04-09 05:56:24 -0700</bug_when>
    <thetext>Using clip-path:polgyon  css settings together with transform:matrix3d()  will break rendering of elements in Safari Browser.  Tested Version 12.1 (14607.1.40.1.4)  and RC Version 12.2 (...79) 

Made a CodePen Example:  https://codepen.io/themepunch/pen/pBNzpY
This Example works fine in Chrome and Firefox but not working on Safari any more.   Previous version of Safari (Pre version of 12.1) worked smooth and fine ! 

Hope you guys find a solution. We have over 4 Million Customers / Users going to have issues with it in our Plugin.

Cheers,

Krisztian from ThemePunch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525750</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-04-09 13:49:45 -0700</bug_when>
    <thetext>Looks like dynamic updates fail unless something else triggers a compositing update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525752</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-04-09 13:54:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/49748830&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525868</commentid>
    <comment_count>3</comment_count>
    <who name="Jack Doyle">jack</who>
    <bug_when>2019-04-09 21:18:30 -0700</bug_when>
    <thetext>Yep, here&apos;s another test case that clearly shows the problem: 
https://codepen.io/GreenSock/pen/f71dd9859235aaf4ade113e9ab4cbf8d?editors=0010

This also seems to affect CSS-based transitions/animations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525984</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-04-10 09:47:59 -0700</bug_when>
    <thetext>We get StyleDifference::RecompositeLayer but fail to set the setNeedsCompositingGeometryUpdate bit in RenderLayerCompositor::layerStyleChanged</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590257</commentid>
    <comment_count>5</comment_count>
      <attachid>383558</attachid>
    <who name="bdc">ben</who>
    <bug_when>2019-11-14 09:55:10 -0800</bug_when>
    <thetext>Created attachment 383558
clip-path doesn&apos;t update

After 2s, the triangle created with clip-path is supposed to be updated, but it won&apos;t repaint until you resize the browser or manually force a reflow. There&apos;s no need to apply a transform to trigger the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590338</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-11-14 15:07:37 -0800</bug_when>
    <thetext>https://codepen.io/GreenSock/pen/f71dd9859235aaf4ade113e9ab4cbf8d?editors=0010 and https://codepen.io/themepunch/pen/pBNzpY both work for me in recent Safari Tech Preview.

The attachment shows a different issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1590342</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-11-14 15:17:01 -0800</bug_when>
    <thetext>This bug is fixed. I spawned bug 204204 for the issue noted in the attachment (which doesn&apos;t involve any compositing layers).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>383558</attachid>
            <date>2019-11-14 09:55:10 -0800</date>
            <delta_ts>2019-11-14 09:55:10 -0800</delta_ts>
            <desc>clip-path doesn&apos;t update</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>565</size>
            <attacher name="bdc">ben</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+CjxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4KPHRpdGxlPlRlc3Q8L3RpdGxl
PgoKPHN0eWxlPgogIGJvZHkgewogICAgbWFyZ2luOiAwOwogIH0KICBkaXYgewogICAgaGVpZ2h0
OiA1MDBweDsKICAgIGJhY2tncm91bmQ6IGJsYWNrOwogICAgLXdlYmtpdC1jbGlwLXBhdGg6IHVy
bCgjY2xpcCk7CiAgfQogIHN2ZyB7CiAgICB3aWR0aDogMDsKICAgIGhlaWdodDogMDsKICB9Cjwv
c3R5bGU+Cgo8ZGl2PjwvZGl2PgoKPHN2ZyB2aWV3Qm94PSIwIDAgMSAxIj4KICA8Y2xpcFBhdGgg
aWQ9ImNsaXAiIGNsaXBQYXRoVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij4KICAgIDxwb2x5Z29u
IHBvaW50cz0iMCwwIDAuNSwwLjUgMSwwIiAvPgogIDwvY2xpcFBhdGg+Cjwvc3ZnPgoKPHNjcmlw
dD4KICBjb25zdCBwb2x5Z29uID0gZG9jdW1lbnQucXVlcnlTZWxlY3RvcigicG9seWdvbiIpOwog
IGNvbnN0IHBvaW50cyA9ICIwLDAgMC41LDEgMSwwIjsKICBzZXRUaW1lb3V0KCgpID0+IHBvbHln
b24uc2V0QXR0cmlidXRlKCJwb2ludHMiLCBwb2ludHMpLCAyMDAwKTsKPC9zY3JpcHQ+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>