Chromium Code Reviews| 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' to 'none' moves | |
| 10 the run-in to its own block.</p> | |
| 11 <p>For this test to pass there should be 1 line below with PASS:<p> | |
| 12 <div class="runin">PASS(run-in)</div> | |
| 13 <div id="t1">FAIL(div#t1 should not be visible</div> | |
| 14 </div> | |
| 15 </body> | |
| 16 <script> | |
| 17 if (window.testRunner) | |
| 18 testRunner.dumpAsText(); | |
| 19 document.body.offsetTop; | |
| 20 document.getElementById('t1').style.display = 'none'; | |
| 21 </script> | |
| 22 </html> | |
| OLD | NEW |