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

incorrect pass conditions in c525-font-wt-000 (font-weight)

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Oct 2010 11:30:29 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101014183029.GA26119@pickering.dbaron.org>
The sixth and seventh lines of this test:
have incorrect pass conditions, although depending on available
fonts only one of them will show up as a problem at a time.

If the default font has no weights lighter than 400, the "This
sentence should be very light." (7) shows up the same weight as
normal (which is allowed).

If, instead, the default font does have weights lighter than 400,
then the previous line (6), "This sentence should be normal."
actually shows up lighter than normal, because the test is testing:
  <p> <b>This sentence should be normal.</b> </p>
  b { font-weight: lighter }

I think the pass conditions for both tests should say that the test
should either be normal or lighter than normal.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 14 October 2010 18:30:57 UTC

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