NEW 96349
SVG does not handle dynamic document-order id changes
https://bugs.webkit.org/show_bug.cgi?id=96349
Summary SVG does not handle dynamic document-order id changes
Philip Rogers
Reported 2012-09-10 20:56:58 PDT
Created attachment 163270 [details] Testcase If we have two elements with the same ID, we should use the first (in document order) element. Unfortunately we do not handle this correctly in the case of xlink:href's. The attached testcase shows one example using animations, but this bug exists for other xlink:href cases too. In the testcase we animate the element #first but then add another #first before the one we are animating. We should switch to animating the first #first, but we incorrectly continue animating the second.
Attachments
Testcase (727 bytes, text/html)
2012-09-10 20:56 PDT, Philip Rogers
no flags
Ahmad Saleem
Comment 1 2022-07-10 13:09:19 PDT
I am able to reproduce this bug in Safari 15.5 / Safari Technical Preview 148 on macOS 12.4 using attached test case. *** Safari Behavior *** Green box animate and after few seconds, it kicks in "Red" to animate and it jumps but nothing happen to red except change in direction and then "Green" continues to animate. *** Other Browsers (Chrome Canary 105 and Firefox Nightly 104) Behavior *** Green box animates and after few seconds, it kicks "Red" to animate and "Green" box stop animating while "Red" animates now. If I am testing incorrectly, please retest accordingly. Thanks!
Radar WebKit Bug Importer
Comment 2 2022-07-15 15:33:53 PDT
Note You need to log in before you can comment on or make changes to this bug.