W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2012

Re: [RC6] c5510-padn-000 has a fractional pixel issue

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 25 Jan 2012 08:22:24 -0800
Message-ID: <CAAWBYDAE95G0gLij6b69sJ+6MCvPpPYyeD2m+PiWEJKcpgUuHA@mail.gmail.com>
To: Chris Lilley <chris@w3.org>
Cc: Gérard Talbot <css21testsuite@gtalbot.org>, Public CSS test suite mailing list <public-css-testsuite@w3.org>
2012/1/25 Chris Lilley <chris@w3.org>:
> On Tuesday, January 24, 2012, 5:28:54 AM, Gérard wrote:
>
> GT> 138px mult by 0.17391 == 23.99958px
> GT> but both Chrome 16.0.912.77, Konqueror 4.7.4 and Opera 11.60 will
> GT> unexpectedly truncate that value to 23px!
>
> Why on earth do they truncate rather than round? Is there some spec-conformance issue that makes them do this (apparently dumb) behaviour?

CSS leaves rounding behavior entirely unspecified, so no.

~TJ
Received on Wednesday, 25 January 2012 16:23:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 January 2012 16:23:34 GMT