Re: Testing border-radius

"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 UTC