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

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

From: Gérard Talbot <www-style@gtalbot.org>
Date: Sat, 13 Oct 2012 22:02:37 -0400
Message-ID: <0afb08acc76e2061d3810bb942770732.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Boris Zbarsky" <bzbarsky@MIT.EDU>
Cc: www-style@w3.org

Le Sam 13 octobre 2012 21:37, Boris Zbarsky a écrit :
> 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

Yes! You're right. I missed that. Thanks, Boris!

Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Sunday, 14 October 2012 02:03:05 GMT

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