[whatwg] Document.activeElement should return the root element in non-HTML documents when no element has focus
Anne van Kesteren
annevk at annevk.nl
Sun Feb 2 05:09:45 PST 2014
On Sun, Feb 2, 2014 at 1:15 AM, Cameron McCormack <cam at mcc.id.au> wrote:
> Document.activeElement is currently defined to return the <body> element if
> there is not element with focus, or null if there's no <body> element. I
> think it needs to return the root element when the document isn't an HTML
> document (like an SVG document).
You mean when there's no <body> element?
--
http://annevankesteren.nl/
More information about the whatwg
mailing list