Hi, Ian- Ian Hickson wrote (on 2/22/09 2:58 PM): > On Sun, 22 Feb 2009, Doug Schepers wrote: >> >> Note that there doesn't seem to be a way in HTML to detect which >> element, if any, is the currently focused element. You can do this in >> SVG, via the getCurrentFocusedObject() method which returns an event >> target, and we suggest that HTML5 do something similar. > > HTML5 adopts IE's activeElement attribute to do this: > > http://www.whatwg.org/specs/web-apps/current-work/#dom-document-activeelement Very good. Perhaps SVG should adopt that as well, or better yet, it should be folded into the DOM. Regards- -Doug Schepers W3C Team Contact, SVG and WebApps WGsReceived on Sunday, 22 February 2009 20:03:48 UTC
This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:16 UTC