1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Bottom with a value of negative zero and no units, -0</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-bottom">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#position-props">
8 <meta name="flags" content="">
9 <meta name="assert" content="The 'bottom' property sets a negative zero length value with no units.">
10 <style type="text/css">
11 #div1
12 {
13 border-top: 5px solid orange;
14 position: relative;
15 }
16 #div2
17 {
18 border-top: 5px solid blue;
19 bottom: -0;
20 position: relative;
21 }
22 </style>
23 </head>
24 <body>
25 <p>Test passes if the blue and the orange lines have no space between them.</p>
26 <div id="div1">
27 <div id="div2"></div>
28 </div>
29 </body>
30 </html>