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
Daniel Holbert
Comment 1 2015-01-29 22:18:09 PST
Radar WebKit Bug Importer
Comment 2 2022-04-13 17:30:02 PDT
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
Note You need to log in before you can comment on or make changes to this bug.