Bryan wrote: > > Hi, > I'm new to all this bug reporting stuff, so I thought I would post here > instead. I'm wondering whether my interpretation of the CSS2 standard is > correct. > > "The box width is given by the sum of the left and right margins, border, > and padding, and the content width. The height is given by the sum of the > top and bottom margins, border, and padding, and the content height." > http://www.w3.org/TR/REC-CSS2/box.html#box-border-area > > My understanding of this is that the border should be rendered inside the > "height". From my testing with RC2, the border appears to be rendered > outside of the containing box, eg:
As described in the sentence you quote. The width property gives the value for "content width". Take a closer look at section 8.1 and the definitions for 'width' and 'height': http://www.w3.org/TR/REC-CSS2/box.html#box-dimensions http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-width http://www.w3.org/TR/REC-CSS2/visudet.html#the-height-property
