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?

I have modified the test, then filed a bug report on it:

Modified test (same filename as before)
http://www.gtalbot.org/BrowserBugsSection/CSS3Backgrounds/background-shorthand-background-size.html

Bug 19532 - Declaration of background-size without background-position in
background shorthand should be parsed as invalid
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19532

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 03:08:33 UTC