W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2008

Re: CSS 2.1 tests: again

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 14 Sep 2008 23:50:16 -0700
Message-ID: <48CE05A8.7000300@inkedblade.net>
To: Gabriele Romanato <gabriele.romanato@gmail.com>
CC: css test <public-css-testsuite@w3.org>

Gabriele Romanato wrote:
> Just finished to upload the new tests:
> http://www.css-zibaldone.com/test/more/


The problem with these tests is that, because 'color'
inherits, the test will still pass if the UA applies
the color to the ancestor instead of the descendant.
You'll have to find some other property to use for


You need to say specifically what colors it will get,
because the UA may have a default color change that
is not the same as what we're looking for.


Again the instructions need to be more specific about
the expected change.


Form controls are outside the scope of the spec, so
this test can't be included. You could write the same
test with regular links, however, since those can be
styled and also :focus'ed


This needs to require that the filler text be gray
(or some other more obvious color). And also again,
you should make the colors clearer by using bold
text or backgrounds and using blue, orange, and
fuchsia instead of green, black, and blue. They are
good tests, however.


I'd rewrite this test to make the test separate from
the instructions, and instead of describing the :first-letter
styles, have two identical paragraphs

   .test, .control {color: green; font-weight: bold; font-size: 1.8em;}

   <p class='test'>Paragraph</p>
   <p><span class='control'>P</span>aragraph.</p>

This type of test is much quicker to scan.


Like the first-child tests, you need to make the
filler text part of the text. Pick a more obvious
color and require that it be that color and not
be green. (Also, you should make this paragraph
bold so that the colors stand out.)


Good test. I'd make the fonts bold so that the color
stands out; other than that I see no problems.


Same as above. Also, remove "not red", as it's not
necessary and is unnecessarily different from the
previous test.


Very good tests. As with the class tests, I'd make
the colors clearer by using bold text or backgrounds
and using blue, orange, and fuchsia instead of green,
black, and blue.


I'm going to skip over this test, since Eira has submitted
a set of :lang tests that are more comprehensive.


These do a good job of testing the :visited pseudo-class
but they don't actually test the :link pseudo-class. Also
the link should say "Follow" instead of "Click" so that
the instructions are accurate for non-mouse navigation.


These are both good tests, but I'd make the text bold so
that the color stand out, and use blue, orange, and fuchsia
instead of green, black, and blue in the type test.

Received on Monday, 15 September 2008 06:51:02 UTC

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