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