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

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 UTC