Bug 141929 - Changing presentation attributes of shape referenced by <use> in <clipPath> breaks clipping
Summary: Changing presentation attributes of shape referenced by <use> in <clipPath> b...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.10
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2015-02-23 15:14 PST by Joe Nudell
Modified: 2023-12-24 06:07 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).