| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Document::nodesFromRect : Allow child-frame content - bug 95204</titl
e> | 4 <title>Document::nodesFromRect : Allow child-frame content - bug 95204</titl
e> |
| 5 <script src="../../../resources/js-test.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
| 6 <script src="resources/nodesFromRect.js"></script> | 6 <script src="resources/nodesFromRect.js"></script> |
| 7 <style> | 7 <style> |
| 8 body { margin: 0px; } | 8 body { margin: 0px; } |
| 9 #sandbox { | 9 #sandbox { |
| 10 width: 400px; | 10 width: 400px; |
| 11 height: 200px; | 11 height: 200px; |
| 12 } | 12 } |
| 13 #sandbox #layer { | 13 #sandbox #layer { |
| 14 float: right; | 14 float: right; |
| 15 } | 15 } |
| 16 #sandbox iframe { | 16 #sandbox iframe { |
| 17 display: block; | 17 display: block; |
| 18 box-sizing: border-box; | 18 box-sizing: border-box; |
| 19 width: 200px; | 19 width: 200px; |
| 20 height: 200px; | 20 height: 200px; |
| 21 border: none; | 21 border: none; |
| 22 } | 22 } |
| 23 .rotate180 { -webkit-transform: rotate(180deg); } | 23 .rotate180 { transform: rotate(180deg); } |
| 24 .rotate90 { -webkit-transform: rotate(90deg); } | 24 .rotate90 { transform: rotate(90deg); } |
| 25 #sandbox .box { | 25 #sandbox .box { |
| 26 box-sizing: border-box; | 26 box-sizing: border-box; |
| 27 height: 100px; | 27 height: 100px; |
| 28 width: 200px; | 28 width: 200px; |
| 29 border: 1px solid black; | 29 border: 1px solid black; |
| 30 } | 30 } |
| 31 </style> | 31 </style> |
| 32 </head> | 32 </head> |
| 33 <body id="body"> | 33 <body id="body"> |
| 34 <div id=sandbox> | 34 <div id=sandbox> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 checkRect(150, 20, 200, 60, "DIV#left, HTML, #document, IFRAME#ifram
e1, DIV#layer, DIV#div1, DIV#sandbox"); | 67 checkRect(150, 20, 200, 60, "DIV#left, HTML, #document, IFRAME#ifram
e1, DIV#layer, DIV#div1, DIV#sandbox"); |
| 68 | 68 |
| 69 e.sandbox.display = 'none'; | 69 e.sandbox.display = 'none'; |
| 70 finishJSTest(); | 70 finishJSTest(); |
| 71 } | 71 } |
| 72 jsTestIsAsync = true; | 72 jsTestIsAsync = true; |
| 73 window.onload = runTest; | 73 window.onload = runTest; |
| 74 </script> | 74 </script> |
| 75 </body> | 75 </body> |
| 76 </html> | 76 </html> |
| OLD | NEW |