OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML> |
| 2 <link rel="author" title="Alan Gresley" href="alan[at]css-class.com"> |
| 3 <link rel="author" title="Boris Zbarsky" href="bzbarsky[at]MIT.EDU"> |
| 4 <link rel="author" title="Greg Whitworth" href="gwhit[at]microsoft.com"> |
| 5 <link rel="author" title="GĂ©rard Talbot" href="www-style[at]gtalbot.org"> |
| 6 <style> |
| 7 div#wrapper { font: 100px/1 Ahem; /* width: 200px; */ } |
| 8 div#wrapper span { color: green; border-bottom: 100px solid red; } |
| 9 div#rel-pos-inline { display: inline; position: relative; } |
| 10 div#abs-pos { background-color: green; position: absolute; height: 100px; wi
dth: 100px; } |
| 11 </style> |
| 12 <p>Test passes if there is no red.</p> |
| 13 <div id="wrapper"> |
| 14 <span>X</span> |
| 15 <div id="rel-pos-inline"> |
| 16 <div id="abs-pos"> |
| 17 </div> |
| 18 </div> |
| 19 </div> |
OLD | NEW |