Re: [whatwg] Document.activeElement should return the root element in non-HTML documents when no element has focus

On Sun, Feb 2, 2014 at 1:15 AM, Cameron McCormack <cam@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/

Received on Sunday, 2 February 2014 13:10:10 UTC