Bug 141929

Summary: Changing presentation attributes of shape referenced by <use> in <clipPath> breaks clipping
Product: WebKit Reporter: Joe Nudell <joenudell>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, bfulgham, karlcow, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.10   

Description Joe Nudell 2015-02-23 15:14:48 PST
If I change a presentation attribute such as width or height on a shape referenced by a <use> tag in a <clipPath>, the <use> does not update an instead will hide any layers that are using this clipPath. I've reproduced this here:

http://jsfiddle.net/joenudell/6ftozo9r/4/

The fiddle does what I'd expect in the various versions of Chrome, FF, and IE that I tried, but fails consistently in Safari 8.0.3 (10600.3.18) and the latest WebKit nightly (r180599).

I'm told the fiddle works correctly on Safari 6.1.6 (7537.78.2), so this could be a regression.
Comment 1 Brent Fulgham 2022-07-15 17:08:59 PDT
This continues to be an issue in Safari.
Comment 2 Radar WebKit Bug Importer 2022-07-15 17:09:12 PDT
<rdar://problem/97101827>
Comment 3 Ahmad Saleem 2023-12-24 06:07:00 PST
Fixed with Layer Based SVG engine - test via WebKit ToT (272488@main).