| <!DOCTYPE HTML> |
| <meta charset="utf-8"> |
| <link rel="author" title="Alan Gresley" href="alan[at]css-class.com"> |
| <link rel="author" title="Boris Zbarsky" href="bzbarsky[at]MIT.EDU"> |
| <link rel="author" title="Greg Whitworth" href="gwhit[at]microsoft.com"> |
| <link rel="author" title="GĂ©rard Talbot" href="www-style[at]gtalbot.org"> |
| <style> |
| div#wrapper { font: 100px/1 Ahem; /* width: 200px; */ } |
| div#wrapper span { color: green; border-bottom: 100px solid red; } |
| div#rel-pos-inline { display: inline; position: relative; } |
| div#abs-pos { background-color: green; position: absolute; height: 100px; width: 100px; } |
| </style> |
| <p>Test passes if there is no red.</p> |
| <div id="wrapper"> |
| <span>X</span> |
| <div id="rel-pos-inline"> |
| <div id="abs-pos"> |
| </div> |
| </div> |
| </div> |