- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sat, 27 Oct 2012 14:58:20 -0400
- To: "fantasai" <fantasai.lists@inkedblade.net>
- Cc: public-css-testsuite@w3.org
Le Sam 27 octobre 2012 10:43, fantasai a écrit : > On 10/21/2012 12:44 AM, Kang-Hao (Kenny) Lu wrote: >> In Test the Web Forward@Beijing, it was mentioned that the tests >> written >> should fail even when the browser doesn't support that feature *at >> all*. >> I am wondering if this is necessary because it is not at all >> straightforward how you do this for 'border-radius'. >> >> The idea I just suggested to a participant is to add something like >> >> <div id="dummy"> >> You would not see this if your browser supports 'border-radius'. >> </div> >> >> #dummy { >> border-radius: 500em; >> width: 10000em; >> height: 10000em; >> overflow: hidden; /* the text would be clipped */ >> } >> >> to the test and not to the reference, but as the name suggests, it's >> quite dummy. >> >> Given all browsers support 'border-radius' without prefix now, is >> something like the thingy above still necessary? And does anyone have >> a >> better idea? > > Use a mismatch reference. Same reference, but with border-radius: 0. > If the reference matches, the UA fails. Good idea! I agree. 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 Saturday, 27 October 2012 18:58:51 UTC