WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 141068
SVG "clip-path" property chooses the wrong element, when multiple elements have a matching ID
https://bugs.webkit.org/show_bug.cgi?id=141068
Summary
SVG "clip-path" property chooses the wrong element, when multiple elements ha...
Daniel Holbert
Reported
2015-01-29 22:17:43 PST
Created
attachment 245695
[details]
testcase 1 STR: 1. Load attached testcase Expected output: Yellow rect inside of a blue rect. Actual output: Red shows up between the yellow and the blue. In particular: the yellow rect is clipped to be too small (because there are two clipRect elements with an ID that matches its "clip-path" attribute, and it's choosing the wrong one) IE 11 and Firefox/Gecko both give me the expected output. Blink & WebKit give me the incorrect output (with red & the wrong clipRect chosen.) VERSION INFO: I've tested Safari 8 on Mac OS X Yosemite, and midori on Ubuntu 14.10. (both webkit-based). Both show the bug.
Attachments
testcase 1
(1.02 KB, text/html)
2015-01-29 22:17 PST
,
Daniel Holbert
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Daniel Holbert
Comment 1
2015-01-29 22:18:09 PST
I also filed a Chrome/Blink bug:
https://code.google.com/p/chromium/issues/detail?id=453722
Radar WebKit Bug Importer
Comment 2
2022-04-13 17:30:02 PDT
<
rdar://problem/91725385
>
Sam Sneddon [:gsnedders]
Comment 3
2022-04-14 07:47:12 PDT
There's seemingly also some dynamic bugginess here, c.f.
https://twitter.com/sophiebits/status/1514404762422181889
about elements getting removed.
Ahmad Saleem
Comment 4
2023-06-12 07:07:15 PDT
Fixed by following commit in Blink -
https://chromium.googlesource.com/chromium/src/+/533d683571c860e69bb3ecaf6214c5ceed25a808
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