W3C home > Mailing lists > Public > public-css-testsuite@w3.org > May 2010

Wrong test assertion in Microsoft's Chapter_6/specificity-003.htm

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sun, 30 May 2010 15:40:35 -0700
Message-ID: <7256de206dd03772446931d545e781d4.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Cc: "Arron Eicholz" <arron.eicholz@microsoft.com>

Hello all,

Testcase
--------

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_6/specificity-003.htm


http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/specificity-003.htm


The current assertion text state:

"The element selector has the highest specificity - specificity 0100
takes precedence over 0011."

but that is not what is involved in that testcase.

It should be instead/rather saying

"The id selector has the higher specificity than the combined
specificity of the element name selector and the pseudo-class
(first-child) selector - specificity 0100 takes precedence over 0011. "

or something similar, more appropriate.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (alpha 2; March 16th 2010):
http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/



-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (alpha 2; March 16th 2010):
http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Sunday, 30 May 2010 22:41:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:02 GMT