1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Floated non-replaced element with 'margin-top', margin-bottom' set to 'auto' and 'height' relying on the descendants
</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#block-root-margin">
7 <meta name=
"flags" content=
"">
8 <meta name=
"assert" content=
"If 'height' is 'auto' on an floated non-replaced element then the 'height' depends on the descendants.">
9 <style type=
"text/css">
34 <p>Test passes if the blue and orange boxes below are the same height.
</p>