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

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

Received on Thursday, 3 October 2013 12:16:42 UTC