1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Absolute Replaced Elements: specified 'top' and 'bottom' with auto margins
</title>
5 <link rel=
"author" title=
"Elika J. Etemad" href=
"http://fantasai.inkedblade.net/">
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/visufx.html#clipping">
7 <meta name=
"flags" content=
"image">
8 <meta name=
"assert" content=
"If 'top' and 'bottom' are specified on an absolutely-positioned replaced element, then any remaining space is split amongst the 'auto' vertical margins.">
9 <style type=
"text/css">
14 /* Uncomment for debugging:
37 border-right: 15px solid red
;
41 border-left: 15px solid red
;
51 <p>There must be no red.
</p>
52 <div class=
"container">
53 <img class=
"abspos one" src=
"resources/swatch-white.png" alt=
"FAIL: image support required">
54 <img class=
"abspos two" src=
"resources/swatch-white.png" alt=
"FAIL: image support required">
55 <img class=
"abspos three" src=
"resources/swatch-white.png" alt=
"FAIL: image support required">
56 <div class=
"control1"></div>
57 <div class=
"control2"></div>
58 <div class=
"control3"></div>