If you have any comments to make regarding this test, e-mail ian@hixie.ch.
overflow
property.For reference, here is how your browser renders the short and tall boxes used in this test:
Note the red bordered container should span the width of the document and sport scroll bars. The scroll bars should not be operative (although they should be visible) in the case above, however in the tests below they will be needed to check that the correct behaviour is present, as generally the boxes will take more that 44ems of height, including the spillages.
If a box is given a height, then it should have that height. End of story. Regardless of contents. Regardless of parentage. Below should be two boxes, the inner one sticking out of the outer one on the bottom They should stretch across the root element's content area.
Note. Those boxes should be there! The vertical margins should not collapse since they are given explicit widths.
If a box is given a height, then it should have that height. End of story. Regardless of contents. Regardless of parentage.
I am a paragraph in a short box.
I am a paragraph in a tall box. The tall box should stick out of the narrow box.
If a box is given a height, then it should have that height. End of story. Regardless of contents. Regardless of parentage.
I am a paragraph in a short box. I am very long, though, so
  I should flow out of the bottom of the box. I am container inside a
  DIV with height of auto, which should just
  serve to provide a border around me, the inner paragraph. Because
  the inner DIV has no explicit height, it should grow to
  accommodate me, and so stick out of the bottom of the short box I
  was talking about before.
Because your window may be quite large, I will now repeat myself a few times.
I am a paragraph
  in a short box. I am very long, though, so I should flow out of the
  bottom of the box. I am container inside a DIV with
  height of auto, which should just serve to provide a
  border around me, the inner paragraph. Because the inner
  DIV has no explicit height, it should grow to
  accommodate me, and so stick out of the bottom of the short box I
  was talking about before.
I am a paragraph in a short box. I
  am very long, though, so I should flow out of the bottom of the box.
  I am container inside a DIV with height of
  auto, which should just serve to provide a border
  around me, the inner paragraph. Because the inner DIV
  has no explicit height, it should grow to accommodate me, and so
  stick out of the bottom of the short box I was talking about
  before.
I am a paragraph in a short box. I am very long,
  though, so I should flow out of the bottom of the box. I am
  container inside a DIV with height of
  auto, which should just serve to provide a border
  around me, the inner paragraph. Because the inner DIV
  has no explicit height, it should grow to accommodate me, and so
  stick out of the bottom of the short box I was talking about
  before.
I am a paragraph in a short box. I am very long,
  though, so I should flow out of the bottom of the box. I am
  container inside a DIV with height of
  auto, which should just serve to provide a border
  around me, the inner paragraph. Because the inner DIV
  has no explicit height, it should grow to accommodate me, and so
  stick out of the bottom of the short box I was talking about
  before.
I am a paragraph in a short box. I am very long,
  though, so I should flow out of the bottom of the box. I am
  container inside a DIV with height of
  auto, which should just serve to provide a border
  around me, the inner paragraph. Because the inner DIV
  has no explicit height, it should grow to accommodate me, and so
  stick out of the bottom of the short box I was talking about
  before.
If a box is given a width, then it should have that width. This
still applies, even if the contents are implicitly bigger, such as a
wide PRE. Then the PRE should stick out.
I am a paragraph in a short box.
I am aPREin the short box. I should stick out of the containing block area of this narrow box, which is 10ems. ThisPREalso has padding 1em, border 1em and margin 1em, just like the narrow box within which it is contained.
Last updated in January 1999.