bottom-064

Bottom using inches with a value of negative zero, -0in

WeasyPrint

This browser

Assertion
The 'bottom' property sets a negative zero length value in inches.

Source

 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 using inches with a value of negative zero, -0in</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 in inches.">
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: -0in;
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>