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

Re: Testing border-radius

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sun, 21 Oct 2012 23:03:42 -0400
Message-ID: <20121021230342.190719n6qd1ypzta@ed-sh-cp3.entirelydigital.com>
To: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
Cc: W3C CSS Test Suite mailing list <public-css-testsuite@w3.org>, TTWF - beijing <testwebforwardbeijing@googlegroups.com>, 小黄鱼 <liz@oupeng.com>
"Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com> a écrit :


> I am not getting this. Commenting out 'border-radius' in this test would
> still satisfly "The test passes if the rectangle has four square corners
> (no red is shown)." How does it fail non-capable-CSS3-border-radius
> browsers?

Kang-Hao,

I have searched a bit more your question and I see that such question  
has been addressed before. Some margin collapsing tests from Ian  
Hickson ( eg
http://test.csswg.org/suites/css2.1/20110323/html4/margin-collapse-105.htm
  ) used such technique. Some tests have pre-test prerequisites or  
ways to pre-tests some support like required font installation, user  
stylesheet installation, etc.

Such technique makes the test slightly longer and two fold  
(two-pronged: "à 2 volets") and a test failure would be subject to  
interpretation.

Example given:

http://test.csswg.org/source/contributors/microsoft/incoming/CSS3/bordersbackgrounds/border-radius-not-inherited-001.htm

Does this border-radius-not-inherited-001.htm test verify that  
'border-radius' is not inherited by default? Yes.

Does this border-radius-not-inherited-001.htm test also verify that  
the user agent has minimal support for 'border-radius' or has basic  
implementation of 'border-radius'? Yes.

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/
Received on Monday, 22 October 2012 03:04:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 October 2012 03:04:14 GMT