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

border-*-width-036/047 (etc.?) make invalid assumptions about rounding

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 14 Oct 2010 00:37:45 -0700
To: public-css-testsuite@w3.org
Message-ID: <20101014073745.GA20093@pickering.dbaron.org>
There are a bunch of border-related tests that fail in Gecko because
the tests make invalid assumptions about rounding behavior.  Gecko
has rounding behavior that has served us very well on the Web:  we
have different rounding behavior for border-widths (where
pixel-width consistency is important) than for most other
dimensions.  (This different behavior is shared by outline widths
and hopefully soon by line heights.)

The following tests fail in Gecko, despite Gecko's behavior being
valid according to the spec:

border-bottom-width-036
border-bottom-width-047
border-left-width-036
border-left-width-047
border-right-width-036
border-right-width-047
border-top-width-036
border-top-width-047

I suspect numerous other tests make the same assumptions, though.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 14 October 2010 07:38:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 October 2010 07:38:23 GMT