W3C home > Mailing lists > Public > www-style@w3.org > February 2012

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

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Mon, 20 Feb 2012 16:07:44 +0100
To: www-style@w3.org
Message-ID: <op.v9zga6gjbunlto@oyvinds-desktop>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT