This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
clientWidth/Height return the viewport dimensions, whereas clientLeft/Top return the border width of the root element. The combination of these behaviors is not very helpful: the different client* measurements are referring to totally different rectangles. I think clientLeft/Top should return 0 in exactly the cases when clientWidth/Height map to viewport dimensions.