RESOLVED DUPLICATE of bug 200997 Bug 140024
focus event listener on arbitrary SVGElement makes it focusable
https://bugs.webkit.org/show_bug.cgi?id=140024
Summary focus event listener on arbitrary SVGElement makes it focusable
Rodney Rehm
Reported 2015-01-01 06:56:54 PST
Created attachment 243863 [details] Test Case Any SVG element (e.g. <text>, <svg>, …) is focusable once a focus event listener is attached to that element. Steps to Reproduce: 1. addEventListener('focus', …) to any SVG element 2. focus() that element 3. observe document.activeElement changed to the SVG element live test case: http://medialize.github.io/ally.js/tests/browser-bugs/blink-svg-focus-event.html This failure also exists in Blink.
Attachments
Test Case (2.25 KB, text/html)
2015-01-01 06:56 PST, Rodney Rehm
no flags
Rodney Rehm
Comment 1 2015-01-01 06:59:16 PST
Ahmad Saleem
Comment 2 2022-07-14 09:29:52 PDT
Just to update that based on Chrome (Blink) issue, this is subject to Web-spec discussion and the expected behavior is not clear in current spec.
Brent Fulgham
Comment 3 2022-07-15 17:04:42 PDT
Let's pull it in for tracking, but there may not be anything to do here.
Radar WebKit Bug Importer
Comment 4 2022-07-15 17:04:55 PDT
Ryosuke Niwa
Comment 5 2022-07-15 22:27:30 PDT
We fixed that: https://trac.webkit.org/changeset/248983 *** This bug has been marked as a duplicate of bug 200997 ***
Note You need to log in before you can comment on or make changes to this bug.