background-size-023 seems incorrect (Re: New tests submission for css3 background-clip/-origin/-size)

Le Sam 13 octobre 2012 5:09, Zhang, Zhiqiang a écrit :

> Review is appreciated:
> https://test.csswg.org/shepherd/search/testcase/author/intel/status/submitted/


http://test.csswg.org/source/contributors/intel/submitted/css3-background/background-size-023.html

<meta name="assert" content="Check if 'background-size' is '50% auto'
and 'background-clip is 'padding-box' that it stretches the image so
that exactly two copies fit horizontally" />

The background-image is stretched[1] from 60px (width) to 75px (which is
half of the width of padding-box) and then it gets repeated horizontally
because the initial value for 'background-repeat' is 'repeat'.

So the test would still pass if it had been
background-size: 13% auto;
or
background-size: 23% auto;
or
background-size: 13% auto;
or even without any background-size declaration.

This test will not fail in only-CSS1-capable browsers.

Because the green image is undifferentiated and undifferentiable, the
number of horizontal copies of the image is impossible to visualize and
is not really relevant in the test anyway.

[1]: I now understand why the assert text uses the verb "stretch". I
missed that in my previous email.

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 00:50:19 UTC