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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 February 2009 03:59:32 GMT