W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Fullscreen and non-HTML elements

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 9 Apr 2012 10:32:47 -0700
Message-ID: <CAP2znoZ6yaV08LnD6u5VB6WZDcQeBcM8jiFK1PYX6bHUeconOA@mail.gmail.com>
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
Received on Monday, 9 April 2012 10:32:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT