RE: [css21][css3-background] background-position examples conflict with prose/grammar

> From: Øyvind Stenhaug [mailto:oyvinds@opera.com]
> > How about:


> > #If one value is specified, the second value is assumed to be
> 'center'.
> > #If two values are specified then the first value represents the
> > horizontal
> > #position (or offset) and the second represents the vertical position
> > (or offset).
> > #If both values are keywords, the vertical and horizontal components
> can
> > #be specified in any order.
> 
> Because the "at least one value is not a keyword" part is omitted, the
> two
> previous sentences kind of contradict each other. Personally I'd still
> prefer my last suggestion.

I don't understand why it's unclear. Whether you have one keyword or two
lengths, it's horizontal then vertical. Only if both are keywords is the 
order unimportant.

Received on Friday, 5 March 2010 18:27:23 UTC