W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: [css3-page] Page size grammar

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 30 Oct 2007 13:10:29 -0400
Message-ID: <47276585.6030109@inkedblade.net>
To: "Grant, Melinda" <melinda.grant@hp.com>
CC: www-style@w3.org

Grant, Melinda wrote:
> Melinda said:
> 
>>  I think we want:
> 
>>  [ <length>{1,2} | auto | <page-size> ] || [ portrait | landscape]
> 
> Oops, spoke too quickly: length already contains portrait/landscape 
> implicitly, in that the first value is the width and the second (when 
> present) the height.  'auto' is assumed when only 'size: portrait' or 
> 'size: landscape' is specified; so I'm back to thinking it was ok initially.
> 
> Back to fantasai's original comment from [1]:
> 
>  > # <length>{1,2} | auto | [ <page-size> || [ portrait | landscape] ]
> 
>>  This syntax does not allow <length> and 'portrait' or 'landscape' to 
> be specified together. This makes sense. However the rest of the text 
> seems to be written as if this were possible.
> 
> Can you be more specific about the text you see as problematic?

In definitions of 'landscape' and 'portrait':
   If a  <length> or <page-size> is not specified, the size of the
   page sheet is chosen by the UA.

delete '<length>' since it cannot be combined with portrait/landscape.

~fantasai
Received on Tuesday, 30 October 2007 17:10:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:55 GMT