Re: [css3-page][css3-mediaqueries] Page size conflicts

On Mon, 20 Feb 2012 09:06:03 +0100, Simon Sapin <simon.sapin@kozea.fr>  
wrote:

> Le 17/02/2012 23:48, fantasai a écrit :
>> Done.
>>     http://dev.w3.org/csswg/css3-page/#page-size-prop
>>     # If a size property declaration is qualified by a ‘width’,  
>> ‘height’,
>>     # ‘device-width’, ‘device-height’, or ‘aspect-ratio’ media query  
>> [MEDIAQ]
>>     # (or other conditional on the size of the paper), then the  
>> declaration
>>     # must be ignored.
>
> Should orientation and device-aspect-ratio be added to the list?

Just in case people in this thread are not already aware of it - Media  
Queries includes this bit:

"To avoid circular dependencies, it is never necessary to apply the style  
sheet in order to evaluate expressions. For example, the aspect ratio of a  
printed document may be influenced by a style sheet, but expressions  
involving ‘device-aspect-ratio’ will be based on the default aspect ratio  
of the user agent."

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Monday, 20 February 2012 15:08:15 UTC