W3C home > Mailing lists > Public > www-style@w3.org > March 2010

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Fri, 5 Mar 2010 18:26:37 +0000
To: Řyvind Stenhaug <oyvinds@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <045A765940533D4CA4933A4A7E32597E10D6DD7D@TK5EX14MBXC111.redmond.corp.microsoft.com>
> 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 GMT

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