| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Document::nodesFromRect test - bug 40197</title> | 4 <title>Document::nodesFromRect test - bug 40197</title> |
| 5 <style type="text/css"> @import "resources/nodesFromRect.css"; </style> | 5 <style type="text/css"> @import "resources/nodesFromRect.css"; </style> |
| 6 <script src="../../js/resources/js-test-pre.js"></script> | 6 <script src="../../js/resources/js-test-pre.js"></script> |
| 7 <script src="resources/nodesFromRect.js"></script> | 7 <script src="resources/nodesFromRect.js"></script> |
| 8 <script type="application/javascript"> | 8 <script type="application/javascript"> |
| 9 function runTest() | 9 function runTest() |
| 10 { | 10 { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 <!-- absolute position --> | 91 <!-- absolute position --> |
| 92 <p id="p3" style="position:absolute; top: 10px; left:50px; height:50px;"></p> | 92 <p id="p3" style="position:absolute; top: 10px; left:50px; height:50px;"></p> |
| 93 | 93 |
| 94 <!-- fixed position --> | 94 <!-- fixed position --> |
| 95 <p id="p4" style="position: fixed; top: 30px; left: 150px; height: 50px; backg
round-color: blue;"></p> | 95 <p id="p4" style="position: fixed; top: 30px; left: 150px; height: 50px; backg
round-color: blue;"></p> |
| 96 | 96 |
| 97 <!-- relative position --> | 97 <!-- relative position --> |
| 98 <p id="p5" style="position:relative; top: -100px; left: 30px; margin-bottom: -
70px; background-color: green"></p> | 98 <p id="p5" style="position:relative; top: -100px; left: 30px; margin-bottom: -
70px; background-color: green"></p> |
| 99 | 99 |
| 100 <span id="console"></span> | 100 <span id="console"></span> |
| 101 <script src="../../js/resources/js-test-post.js"></script> | |
| 102 </body> | 101 </body> |
| 103 </html> | 102 </html> |
| 104 | 103 |
| OLD | NEW |