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

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 UTC