- From: Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
- Date: Mon, 15 Oct 2012 13:20:31 +0000
- To: "Gérard Talbot" <css21testsuite@gtalbot.org>
- 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>
> > 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. Improved this test and http://test.csswg.org/source/contributors/intel/submitted/css3-background/background-size-022.html with the cat.png image as background for differentiation. Thank you. > > [1]: I now understand why the assert text uses the verb "stretch". I > missed that in my previous email. >
Received on Monday, 15 October 2012 13:21:21 UTC