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

On 2/17/12 4:13 PM, fantasai wrote:
> On 02/17/2012 03:11 PM, Boris Zbarsky wrote:
>> fantasai:
>>> - we would like the page to be able to express a preferred size
>>> (or multiple preferred sizes; there was a suggestion to extend
>>> 'size' to accept a list)
>>> - we would also like the page to be able to provide layouts for
>>> multiple sizes
>>
>> Do we need to allow it to do both? One option is to always drop
>> @page size declarations inside an @media that involved width/height...
>
> Brilliant. Why didn't I think of that? :) Would it be reasonable
> to impose the same thing on conditionally-linked style sheets?
>
> e.g.
> @import "page-rule-with-size.css" (width: 15cm); /* size gets ignored */
> ?

You'd sort of have to, right?   It's exactly equivalent to the @media 
form...

-Boris

Received on Friday, 17 February 2012 22:21:48 UTC