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

Update Re: [RC5, pre-RC6] font-systemfont-rule-004 incorrect

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 6 Oct 2011 13:32:54 -0400
Message-ID: <89151dbbd72935958649e295e938ca3a.squirrel@gtalbot.org>
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.


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

Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011

CSS 2.1 test suite harness:
Received on Thursday, 6 October 2011 17:33:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:23 UTC