content-counter-004.htm, content-counters-004.htm: Validating counter glyphs

http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/content-counter-004.htm
http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/content-counters-004.htm

This test compares the glyph used for a square counter style with the U+25FE. However, CSS2.1 12.5.1 [1] states:

"Glyphs are specified with disc, circle, and square. Their exact rendering depends on the user agent."

CSS3 Lists, 4.1 [2] suggests - but does not require - U+25A0, U+25FC or U+25FE for squares.

In order for this test to pass, we believe both of the following are required:
1. Like CSS3 Lists, CSS2.1 specifies which glyph(s) are appropriate for counter styles; 
2. The test compares against all suggested/allowed glyphs and requires the user agent to match one of them.

Otherwise, a user agent can fail this test and still comply with CSS2.1. This test case should be updated or removed from the test suite.

The test also uses the word 'approximately' this does not allow for easy pass/fail indication. Recommend removing the word and making the statement more explicit.

[1] http://www.w3.org/TR/CSS21/generate.html#list-style
[2] http://www.w3.org/TR/css3-lists/#glyphs

--
Thanks,
Arron Eicholz

Received on Saturday, 28 February 2009 00:20:50 UTC