RESOLVED INVALID 46578
SVG implement dynamic pseudo-class focus
https://bugs.webkit.org/show_bug.cgi?id=46578
Summary SVG implement dynamic pseudo-class focus
jay
Reported 2010-09-26 10:25:11 PDT
Created attachment 68851 [details] testcase dynamic pseudo-class implemented, but not focus. why? SVG 1.1 The ‘pointer-events’ property specifies under what circumstances a given graphics element can be the target element for a pointer event. It affects the circumstances under which the following are processed: user interface events such as mouse clicks dynamic pseudo-classes (i.e., :hover, :active and :focus; [CSS2], section 5.11) http://www.w3.org/TR/SVG11/interact.html#PointerEventsProperty 5.11.3 The dynamic pseudo-classes: :hover, :active, and :focus http://www.w3.org/TR/2008/REC-CSS2-20080411/selector.html#q15 apologies if this is a dupe
Attachments
testcase (413 bytes, image/svg+xml)
2010-09-26 10:25 PDT, jay
no flags
Dirk Schulze
Comment 1 2014-05-12 07:07:30 PDT
Elements are not focusable by default. Buttons are, text areas are but not SVG elements. In a nightly you can give it a focus by using tabindex="1". You should be able to give it a focus with JS too.
Note You need to log in before you can comment on or make changes to this bug.