W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2012

Re: New tests submission for css3 background-clip/-origin/-size

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sun, 14 Oct 2012 01:37:09 -0400
Message-ID: <400380591a0155661f8c383415e43be6.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Zhang, Zhiqiang" <zhiqiang.zhang@intel.com>
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>, "Christensen, Kenneth" <kenneth.christensen@intel.com>, "Zhang, Haili" <haili.zhang@intel.com>, "Yu, Ling L" <ling.l.yu@intel.com>, "Yang, Lei A" <lei.a.yang@intel.com>

Le Sam 13 octobre 2012 16:36, "Gérard Talbot" a écrit :

> Additional note
> ---------------
>
> I'm not perfectly familiar with CSS 3 background but, after reading, I
> would assume that
>
> background: #CCC url("support/60x60-green.png") / 100% auto no-repeat;
>
> would do and should do the same (and should be parsed exactly) as
>
> background: #CCC url("support/60x60-green.png") top left / 100% auto
> no-repeat;
>
> ( or as
> background: #CCC url("support/60x60-green.png") 0% 0% / 100% auto
> no-repeat;
> )
>
> but it does not in Chrome 22 and Opera 12.02. I'm not sure why.
>
> "
> A double bar (||) separates two or more options: one or more of them
> must occur, in any order.
> "
> http://www.w3.org/TR/CSS21/about.html#property-defs
>
> and the syntax is:
>
> <bg-layer> = <bg-image> || <position> [ / <bg-size> ]? || <repeat-style>
> || <attachment> || <box>{1,2} || <'background-color'>
>
> Since top left can be translated into 0% 0% (which are the initial
> values), then it should be the same.

Please forget everything I wrote about such additional note. Thanks to
Boris Zbarsky, I figured this out and about the syntax: <bg-size> can
not be declared without <position>.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

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

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 14 October 2012 05:37:40 GMT