W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css-device-adapt] @viewport vs. Media Queries.

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 01 Mar 2013 14:25:37 +0100
Message-ID: <5130AC51.5000502@exyr.org>
To: Rune Lillesveen <rune@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>
Le 01/03/2013 14:14, Rune Lillesveen a écrit :
>> How about:
>> >
>> >1. Cascade all @viewport rules using the initial viewport size for
>> >values and evaluations which rely on viewport size.
>> >2. Compute the actual viewport from the cascaded viewport descriptors.
>> >3. Cascade all other properties and descriptors using the actual
>> >viewport size.
> Changed ED.

Nit: I’d use "all other rules" rather than "all other properties and 
descriptors". The latter are part of rules, but not all rules are based 
on them. (eg. @import, which could have a MQ based on the viewport size.)

-- 
Simon Sapin
Received on Friday, 1 March 2013 13:26:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT