On Thu, Feb 4, 2010 at 6:50 PM, Brian Campbell <lam...@continuation.org>wrote:

> I think the most reasonable approach would be to say that the
> getBoundingClientRect().width or height is rounded to the nearest pixel.
> Boxes are displayed rounded to the nearest pixel, with no fractional pixels
> being drawn, right?


> Why would they report a width or height that is different than how they are
> displayed? All browsers that I've tested (the ones listed above, so not IE)
> report integral values for getBoundingClientRect().width and height (or for
> left and right in the case of Opera, which doesn't support width and
> height).

Firefox often returns non-integral values for getBoundingClientRect().width
or height.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah

Reply via email to