RESOLVED WORKSFORME Bug 40545
focusin, focusout, activate not implemented in SVG
https://bugs.webkit.org/show_bug.cgi?id=40545
Summary focusin, focusout, activate not implemented in SVG
jay
Reported 2010-06-13 09:25:33 PDT
http://www.w3.org/TR/SVG/interact.html#SVGEvents focusout: Occurs when an element loses focus, such as when a 'text' becomes unselected. it is not clear to me how this is intended to be used, however please find a testcase attached in Safari and Opera, clicking on a green rectangle starts its own flashing cursor however only in Opera does one animation stop when the other starts. please accept my apologies for the code, an even simpler testcase would be appreciated. I had the devil's own trouble getting this one to function at all.
Attachments
focusout demo (1.39 KB, image/svg+xml)
2010-06-13 09:37 PDT, jay
no flags
focusout simplified testcase (791 bytes, image/svg+xml)
2010-06-14 01:02 PDT, jay
no flags
jay
Comment 1 2010-06-13 09:37:58 PDT
Created attachment 58595 [details] focusout demo
jay
Comment 2 2010-06-14 01:02:30 PDT
Created attachment 58625 [details] focusout simplified testcase
jay
Comment 3 2010-06-14 01:03:22 PDT
very much simplified testcase, wfm Opera, broken Safari
jay
Comment 5 2010-06-14 01:31:21 PDT
url above is for script access using onfocusout etc.
jay
Comment 6 2010-06-14 12:13:03 PDT
in August 2000 Accessibility Features of SVG states: "Good authoring practice will normally use the focusin, focusout and activate events rather than the device specific events for gaining and losing the focus on an element or activating the element. " http://www.w3.org/TR/SVG-access/ Opera implementation allows either focus or focusin
jay
Comment 7 2010-06-17 22:30:32 PDT
moving to DOM as whilst the effect is SVG the cause is DOM
Nikolas Zimmermann
Comment 8 2010-07-09 07:27:02 PDT
Changed component to SVG, so it shows up in my all-svg-bugs search.
Note You need to log in before you can comment on or make changes to this bug.