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: Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
Date: Tue, 16 Oct 2012 02:12:30 +0000
To: "Gérard Talbot" <css21testsuite@gtalbot.org>
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>
Message-ID: <0EA8FB2070816C499E0A50AC1B0B5C161D5B26@SHSMSX101.ccr.corp.intel.com>
> -----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.

> 
> 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 02:13:02 GMT

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