Each of the above three boxes has display: table and:
The second box has layout: fixed, the third has border-collapse: collapse.
The width on the display: table boxes is interpreted as:
The height on the display: table boxes is interpreted as:
With border-collapse: collapse the padding is ignored. The border-width is still included or excluded in the width according to the above, but with the following a variation: in IE8, Gecko, Opera the half of the border width is considered.
This page in quirks: table and box model (quirks mode) (no differences)