Bug 46578 - SVG implement dynamic pseudo-class focus
: SVG implement dynamic pseudo-class focus
Product: WebKit
Classification: Unclassified
Component: SVG
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Nobody
Depends on:
  Show dependency treegraph
Reported: 2010-09-26 10:25 PDT by jay
Modified: 2014-05-12 07:07 PDT (History)
3 users (show)

See Also:

testcase (413 bytes, image/svg+xml)
2010-09-26 10:25 PDT, jay
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jay 2010-09-26 10:25:11 PDT
Created attachment 68851 [details]

dynamic pseudo-class implemented, but not focus.


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)

5.11.3 The dynamic pseudo-classes: :hover, :active, and :focus

apologies if this is a dupe
Comment 1 Dirk Schulze 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.