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

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 UTC