- From: Ian Hickson <ian@hixie.ch>
- Date: Sun, 22 Feb 2009 03:58:49 +0000 (UTC)
- To: Doug Schepers <schepers@w3.org>
- Cc: Jonas Sicking <jonas@sicking.cc>, Olli Pettay <Olli.Pettay@helsinki.fi>, HTML WG <public-html@w3.org>, www-svg <www-svg@w3.org>
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 HTH, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 22 February 2009 03:59:27 UTC