1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <title>CSS Test: Absolute replaced elements with percentage based intrinsic height set to 'auto' and 'top', 'bottom' are not 'auto'
</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#abs-replaced-height">
7 <meta name=
"flags" content=
"">
8 <meta name=
"assert" content=
"An absolutely positioned replaced element with percentage intrinsic height resolves based on the containing block height when percentage is explicitly specified.">
9 <style type=
"text/css">
34 <p>Test passes if there is no red visible on the page.
</p>
36 <iframe height=
"50%"></iframe>