WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
196731
clip-path rendering together with transform:matrix3d not Rendering
https://bugs.webkit.org/show_bug.cgi?id=196731
Summary
clip-path rendering together with transform:matrix3d not Rendering
Krisztian
Reported
2019-04-09 05:56:24 PDT
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
Attachments
clip-path doesn't update
(565 bytes, text/html)
2019-11-14 09:55 PST
,
bdc
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2019-04-09 13:49:45 PDT
Looks like dynamic updates fail unless something else triggers a compositing update.
Radar WebKit Bug Importer
Comment 2
2019-04-09 13:54:17 PDT
<
rdar://problem/49748830
>
Jack Doyle
Comment 3
2019-04-09 21:18:30 PDT
Yep, here'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.
Simon Fraser (smfr)
Comment 4
2019-04-10 09:47:59 PDT
We get StyleDifference::RecompositeLayer but fail to set the setNeedsCompositingGeometryUpdate bit in RenderLayerCompositor::layerStyleChanged
bdc
Comment 5
2019-11-14 09:55:10 PST
Created
attachment 383558
[details]
clip-path doesn't update After 2s, the triangle created with clip-path is supposed to be updated, but it won't repaint until you resize the browser or manually force a reflow. There's no need to apply a transform to trigger the issue.
Simon Fraser (smfr)
Comment 6
2019-11-14 15:07:37 PST
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.
Simon Fraser (smfr)
Comment 7
2019-11-14 15:17:01 PST
This bug is fixed. I spawned
bug 204204
for the issue noted in the attachment (which doesn't involve any compositing layers).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug