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

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Mon, 20 Feb 2012 17:04:42 +0100
Message-ID: <4F426F1A.9080901@kozea.fr>
To: www-style@w3.org
Le 20/02/2012 16:07, Øyvind Stenhaug a écrit :
> 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."

I hadn’t noticed, but indeed.

This makes the whole thing much simpler for implementers, but also means 
that these media queries are pretty much useless in paged media.

Isn’t it even bad for authors to have media queries apply based on a 
value completely unrelated to the actual page size?

Regards,
-- 
Simon Sapin
Received on Monday, 20 February 2012 16:05:17 GMT

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