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

RE: [css-wywiwyg] browser interpretation of css

From: Brian Manthos <brianman@microsoft.com>
Date: Tue, 8 May 2012 01:48:41 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <4031779A10373C4AB7B9FBAD218A8BAC0242506C@CH1PRD0310MB391.namprd03.prod.outlook.com>
From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU] 
>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.

Other, sometimes surprising factors, come into play such as where the associated element is on the page (its offsets), what other "modes" are in play for the browser or the document, whether non-rectangular clipping is present, the DPI of the device, etc.
Received on Tuesday, 8 May 2012 01:49:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC