OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .inlineContainer { | 5 .inlineContainer { |
6 position: relative; | 6 position: relative; |
7 display: inline; | 7 display: inline; |
8 } | 8 } |
9 #positioned { | 9 #positioned { |
10 position: absolute; | 10 position: absolute; |
11 } | 11 } |
12 </style> | 12 </style> |
13 <script> | 13 <script> |
14 if (window.layoutTestController) | 14 if (window.layoutTestController) |
15 layoutTestController.dumpAsText(); | 15 layoutTestController.dumpAsText(); |
16 function runTest() { | 16 function runTest() { |
17 document.getElementById('positioned').innerHTML = 'PASSED'; | 17 document.getElementById('positioned').innerHTML = 'PASSED'; |
18 } | 18 } |
19 </script> | 19 </script> |
20 </head> | 20 </head> |
21 <body onload="runTest()"> | 21 <body onload="runTest()"> |
22 <div class='inlineContainer'> | 22 <div class='inlineContainer'> |
23 <div> | 23 <div> |
24 <div id='positioned'>FAILED</div> | 24 <div id='positioned'>FAILED</div> |
25 </div> | 25 </div> |
26 </div> | 26 </div> |
27 </body> | 27 </body> |
28 </html> | 28 </html> |
OLD | NEW |