Re: [css-device-adapt] Apply @viewport to top-level documents only



On 10/3/13 5:16 AM, "Rune Lillesveen" <rune@opera.com> wrote:

>Hi,
>
>I propose to resolve [1] by making @viewport apply to top level
>documents only, and add the following text to chapter 4:
>
># @viewport rules apply to top level documents only.
>
>This is in line the fact that the implementations of <meta
>name=viewport> only apply to top level documents. It's straightforward
>to apply the width and height to frames and iframes, but it isn't
>obvious to me how independent pinch zoom for frames and the top level
>document should work. Discussion could be revived if there will be a
>level 2 of the spec.
>
>Is "top level documents" an acceptable term in a CSS spec?
>
>The HTML spec uses "top level browsing context". I don't know if this
>limitation has been applied in other CSS specs, or which term has been
>used.
>
>[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=21788

>
>-- 
>Rune Lillesveen

Going back to the beginning, do we know why implementors applied this
restriction to begin with? Interaction with zooming is a possible
candidate. Others? 

Received on Friday, 4 October 2013 21:18:08 UTC