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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 03 Dec 2010 11:45:51 -0500
Message-ID: <4CF91EBF.4040709@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>
CC: public-css-testsuite@w3.org
On 10/14/2010 02:30 PM, L. David Baron wrote:
> The sixth and seventh lines of this test:
> http://test.csswg.org/suites/css2.1/20101001/html4/c525-font-wt-000.htm
> http://test.csswg.org/suites/css2.1/20101001/xhtml1/c525-font-wt-000.xht
> 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.

I've reworked the test. Let me know if it's okay now.
   http://test.csswg.org/source/approved/css2.1/src/css1/c525-font-wt-000.xht

~fantasai
Received on Friday, 3 December 2010 23:52:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 3 December 2010 23:55:05 GMT