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

RE: background-size-003 (Re: New tests submission for css3 background-clip/-origin/-size)

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 15 Oct 2012 23:51:08 -0400
Message-ID: <65ec35b441836bc9e1f3488c0bf50566.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Zhang, Zhiqiang" <zhiqiang.zhang@intel.com>
Cc: "Public CSS testsuite mailing list@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 Lun 15 octobre 2012 22:12, Zhang, Zhiqiang a écrit :
>> -----Original Message-----
>> From: "Gérard Talbot" [mailto:css21testsuite@gtalbot.org]
>> Sent: Tuesday, October 16, 2012 10:03 AM
>> To: Zhang, Zhiqiang
>> Cc: Public CSS testsuite mailing list@w3.org; Christensen, Kenneth;
>> Zhang,
>> Haili; Yu, Ling L; Yang, Lei A
>> Subject: RE: background-size-003 (Re: New tests submission for css3
>> background-clip/-origin/-size)
>>
>>
>> Le Lun 15 octobre 2012 7:32, Zhang, Zhiqiang a écrit :
>> >>
>> >> http://test.csswg.org/source/contributors/intel/submitted/css3-
>> >> background/background-size-003.html
>> >>
>> >> I think
>> >>
>> >> line 26: height: 90px;
>> >>
>> >> should be instead
>> >>
>> >> line 26: height: 100px;
>> >>
>> >> Also,
>> >>
>> >> line 19:    width: 58px;
>> >> line 20:    height: 58px;
>> >>
>> >> should be preferably replaced with
>> >>
>> >> line 19:    width: 148px;
>> >> line 20:    height: 148px;
>> >>
>> >
>> > If make these changes, the test loses its original purpose for
>> checking
>> > 'background-size' value 'cover' comparing to 'contain' in
>> > background-size-004. I just designed background-size-003 and -004
>> with
>> > height 90px and width 100px to check 'background-size' values
>> 'cover'
>> > and 'contain' respectively.
>>
>> Okay. I see.
>>
>> > However, the test still needs to update its
>> > reference height and width as
>> https://hg.csswg.org/test/rev/397604280e79
>>
>>
>> One problem with the current background-size-003 test is that testers
>> may interpret "inside black dotted borders" as applying to the 4
>> borders
>> - that would include the border-bottom -  and then consider what they
>> see as a failure.
>
> Yes, I am still thinking how to simplify this to make it easier to check
> "cover" and "contain".
>
>>
>> I am working on a possible replacement...
>
> Thank you very much. I really appreciate your effort and help.

Zhiqiang,

Filenames of these webpages should be renamed. To something like:
background-size-cover-001
background-size-cover-002
background-size-contain-001
background-size-contain-002

http://www.gtalbot.org/BrowserBugsSection/review/background-size-003-review.html

http://www.gtalbot.org/BrowserBugsSection/review/background-size-003b-review.html

http://www.gtalbot.org/BrowserBugsSection/review/background-size-004-review.html

http://www.gtalbot.org/BrowserBugsSection/review/background-size-004b-review.html

IE7 and IE8 fail all 4 tests.

Konqueror 4.9.2 fails background-size-003-review and
background-size-003b-review; it also seems to fail 004 and 004b.

I created the support 50x50-green.png image; so eventually it will have
to be hg-added and hg-pushed into the proper support/ folder.

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 Tuesday, 16 October 2012 03:51:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 16 October 2012 03:51:40 GMT