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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 17 Feb 2012 17:21:20 -0500
Message-ID: <4F3ED2E0.7030705@mit.edu>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style@w3.org
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 GMT

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