1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Height determination for block-level non-replaced elements in normal flow when 'overflow' does not compute to 'visible' and elements' margins do not collapse
</title>
5 <link rel=
"author" title=
"Microsoft" href=
"http://www.microsoft.com/">
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visudet.html#normal-block">
7 <meta name=
"flags" content=
"">
8 <meta name=
"assert" content=
"When a block-level non-replaced element is in normal flow, 'overflow' does not compute to 'visible', the 'height' is 'auto' and top and bottom margins do not collapse. The 'height' is the sized from the top of the topmost margin edge of the content to the bottom of the bottom most margin edge of the content.">
9 <style type=
"text/css">
21 border-bottom: 0.25in solid blue
;
22 border-top: 0.25in solid blue
;
24 #div2, #div3
, #div4
, #div5
35 border-top: 0.25in solid blue
;
40 border-bottom: 0.25in solid blue
;
41 margin-bottom: 0.25in;
54 <p>Test passes if there is a blue square below.
</p>