- From: Doug Schepers <schepers@w3.org>
- Date: Mon, 23 Feb 2009 07:03:38 +1100
- To: Ian Hickson <ian@hixie.ch>
- CC: Jonas Sicking <jonas@sicking.cc>, Olli Pettay <Olli.Pettay@helsinki.fi>, HTML WG <public-html@w3.org>, www-svg <www-svg@w3.org>
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 WGs
Received on Sunday, 22 February 2009 20:03:53 UTC