[whatwg] Fullscreen and non-HTML elements

Ian Hickson ian at hixie.ch
Fri Apr 6 11:31:48 PDT 2012

On Fri, 6 Apr 2012, Anne van Kesteren wrote:
> The other day I was wondering whether I should change Fullscreen to not be
> applicable to all elements. I was thinking HTMLElement and SVGSvgElement
> (<svg:svg>) would probably be best. My reasoning was that it will not work for
> <svg:rect> and such.

There's plenty of HTML elements that it doesn't make sense to fullscreen
either -- e.g. <source>, any of the ones in <head>, any with a hidden=""
attribute, any marked display:none, etc. So we have to handle that anyway.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list