Bug 219458

Summary: clip-path is applied to wrong element when referencing SVG clipPath via url()
Product: WebKit Reporter: Xidorn Quan <xidorn-webkit>
Component: CompositingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: koivisto, sabouhallawa, simon.fraser, smoley, webkit-bug-importer, zalan
Priority: P2 Keywords: CanvaBug, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 126207    
Attachments:
Description Flags
testcase none

Description Xidorn Quan 2020-12-02 15:49:35 PST
Created attachment 415255 [details]
testcase

Steps to reproduce:
1. open the attached testcase
2. drag the image around

Expected behavior:
The opaque circle close to the middle of the image should be fixed.

Actual behavior:
The opaque circle is moved with the image.


It works as expected on Firefox and Chrome. This is causing issue for Canva's editor on Safari.
Comment 1 Xidorn Quan 2020-12-02 15:52:03 PST
It seems that using <basic-shape> doesn't have the same issue.
Comment 2 Smoley 2020-12-07 11:00:04 PST
This reproduces for me on Safari 13.1.3 - STP 116 (14.1).
Comment 3 Radar WebKit Bug Importer 2020-12-07 11:01:06 PST
<rdar://problem/72054936>
Comment 4 Simon Fraser (smfr) 2022-08-15 10:48:36 PDT
I cannot reproduce this in STP 151 or a recent Safari.