[whatwg] Fullscreen and non-HTML elements

Ian Hickson ian at hixie.ch
Mon Apr 9 10:32:47 PDT 2012


On Mon, Apr 9, 2012 at 4:58 AM, Charles McCathieNevile <chaals at opera.com>wrote:

> On Fri, 06 Apr 2012 16:51:30 +0200, Anne van Kesteren <annevk at opera.com>
> wrote:
>
>  On Fri, 06 Apr 2012 16:25:20 +0200, Doug Schepers <schepers at w3.org>
>> wrote:
>>
>>> What's the rationale for restricting what authors (or users) can make
>>> fullscreen?
>>>
>>
>> You cannot render arbitrary SVG elements without a root <svg> element as
>> far as I know.
>>
>
> Sure you can - that's what zoom and pan does... Applying some
> preserveAspectRatio to determine *how* they fit into the fullscreen might
> be a handy feature creep...
>

"Pan and zoom" pans, and zooms, a rectangular area inside an <svg> element.
It does not individually render a specific SVG subtree. The SVG
specifications do not define rendering for subtrees that are not rooted at
<svg> elements (and rightly so; the <svg> element is needed to define
things like the coordinate space).

-- 
Ian Hickson



More information about the whatwg mailing list