Bug 141929
Summary: | Changing presentation attributes of shape referenced by <use> in <clipPath> breaks clipping | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joe Nudell <joenudell> |
Component: | SVG | Assignee: | 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 |
Joe Nudell
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
This continues to be an issue in Safari.
Radar WebKit Bug Importer
<rdar://problem/97101827>
Ahmad Saleem
Fixed with Layer Based SVG engine - test via WebKit ToT (272488@main).