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

Re: [CSS3] Question on shorthand background and background-size

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 13 Oct 2012 21:37:38 -0400
Message-ID: <507A1762.80006@mit.edu>
To: www-style@w3.org
On 10/13/12 9:21 PM, "Gérard Talbot" wrote:
> If 'background-position' is not explicitly set in the background shorthand
> form, then it should default to initial value which is '0% 0%'.
>
> Syntax is:
>
> <final-bg-layer> = <bg-image> || <position> [ / <bg-size> ]? ||
> <repeat-style> || <attachment> || <box>{1,2} || <'background-color'>

That syntax says that if you want to list a <bg-size> then you _have_ to 
have a <position>, no?

-Boris
Received on Sunday, 14 October 2012 01:38:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT