- From: Garrett Smith <dhtmlkitchen@gmail.com>
- Date: Mon, 30 Jun 2008 11:04:33 -0700
- To: Www-style <www-style@w3.org>
When an element's border width is computed from EM, should the computed border width include fractions of a pixel? IOW, when calling:- getComputedStyle(el, '').borderWidth, - is the return a float or an int? Furthermore, should the precision, if rounded down for rendering, be preserved? If it is preserved, it would seem that three border-widths of 33.3px would add up to 100px, and that this is where the element should appear, and that measurement should be reflected in getBoundingClientRect. Garrett
Received on Monday, 30 June 2008 18:05:08 UTC