abspos-012

position: absolute; top: auto; test (assumed initial values)

WeasyPrint

This browser

Flags
may

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html lang="en">
 3 <head>
 4   <title>CSS Test: position: absolute; top: auto; test (assumed initial values)</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/015.html" type="text/html">
 8   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#comp-abspos">
 9   <meta name="flags" content="may">
10   <style type="text/css">
11    div { position: relative; height: 10em; }
12    p { position: absolute; height: 4em; width: 10em; font: bold 2em monospace; }
13   </style>
14  </head>
15  <body>
16   <div>
17    <p>FAIL ____</p>
18    <p>#___ P___</p>
19    <p>_##_ _A__</p>
20    <p>___# __SS</p>
21   </div>
22  
23 
24 </body>
25 </html>