Re: [css3-page] Page size grammar

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 UTC