OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <style> |
| 4 .runin { display: run-in } |
| 5 </style> |
| 6 </head> |
| 7 <body> |
| 8 <div> |
| 9 <p>This test checks that dynamically changing 'display' from block to inline mov
es |
| 10 the run-in to its own block.</p> |
| 11 <p>For this test to pass there should be 2 lines below with PASS, each PASS shou
ld |
| 12 be on its own line:</p> |
| 13 <div class="runin">PASS (run-in)</div> |
| 14 <div id="t1">PASS (div#t1 that changed 'display')</div> |
| 15 </div> |
| 16 </body> |
| 17 <script> |
| 18 if (window.testRunner) |
| 19 testRunner.dumpAsText(); |
| 20 document.body.offsetTop; |
| 21 document.getElementById('t1').style.display = 'inline'; |
| 22 </script> |
| 23 </html> |
OLD | NEW |