W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [cssom-view] Layout dimension that divides+rounds+sums to value different to original dividend

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Thu, 13 Apr 2017 11:50:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-293868551-1492084205-sysbot+gh@w3.org>
Rounding the edges is interesting.

An interesting case is if the width is 0.5px, it depends on where the edges are in the "CSS pixel grid" if `offsetWidth` is 0 or 1. However the result here does not match that of Chromium.
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/5016

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1211#issuecomment-293868551 using your GitHub account
Received on Thursday, 13 April 2017 11:50:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC