W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css-wywiwyg] browser interpretation of css

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 07 May 2012 21:17:56 -0400
Message-ID: <4FA87444.7040209@mit.edu>
To: www-style@w3.org
On 5/7/12 7:13 PM, Rik Schaaf wrote:
> For instance: If one says width: 80px, all browsers should handle it the same way (with/without border / padding / margin)
>
> This example is handled the same way by at least the major browsers

Actually, no.  It's not.  Certainly not if you say "width: 80.5px", say.

Note that the same browser would render that differently depending on 
the exact ratio of CSS px to device pixels on the target device.

-Boris
Received on Tuesday, 8 May 2012 01:18:27 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:14 UTC