Bug 140024 - focus event listener on arbitrary SVGElement makes it focusable
Summary: focus event listener on arbitrary SVGElement makes it focusable
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2015-01-01 06:56 PST by Rodney Rehm
Modified: 2015-01-01 06:59 PST (History)
1 user (show)

See Also:

Test Case (2.25 KB, text/html)
2015-01-01 06:56 PST, Rodney Rehm
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodney Rehm 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.
Comment 1 Rodney Rehm 2015-01-01 06:59:16 PST
Blink issue for reference: https://code.google.com/p/chromium/issues/detail?id=445798