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 23:08:05 -0400
Message-ID: <08d401e0fb317c1f358cfa617a905ba9.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?

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 GMT

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