- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Thu, 6 Oct 2011 13:32:54 -0400
- To: "Arron Eicholz" <arron.eicholz@microsoft.com>
- Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Le Dim 20 mars 2011 17:19, "Gérard Talbot" a écrit : > Arron, > > http://test.csswg.org/suites/css2.1/20110111/html4/font-systemfont-rule-004.htm > (RC5) > > http://test.csswg.org/suites/css2.1/nightly-unstable/html4/font-systemfont-rule-004.htm > > http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_15/font-systemfont-rule-004.htm > > http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_15/font-systemfont-rule-004.xht > > The testcase has everything to do with section 6.4.3 Calculating a > selector's specificity (id is b and wins over class which is c) and > nothing with font shorthand not listing explicitly subproperties. Arron, I revisited this testcase. The testcase is not incorrect after all. Albeit I think the testcase should state (that would help!) that the rules for specificity applies in this test and such rules are playing a role in this test; the declarations of the id-ed element (#div2) wins over the ones of the class-ed element (.test) when there is a conflictual value for the same property. > As coded, the testcase currently is not testing what it originally > intended to test. The testcase does test what it originally intended to test. Personally I would have avoided the specificity situation (re. 6.4.3) in the testcase and focus on the font shorthand aspect only. > Proposed replacement > -------------------- > http://www.gtalbot.org/BrowserBugsSection/css21testsuite/font-systemfont-rule-004.htm 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 Thursday, 6 October 2011 17:33:27 UTC