Computed Style and Border Width - Question [CSSOM]

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