OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 | 3 |
4 <style> | 4 <style> |
5 | 5 |
6 body { | 6 body { |
7 width: 2000px; | 7 width: 2000px; |
8 height: 2000px; | 8 height: 2000px; |
9 background-color: grey; | 9 background-color: grey; |
10 } | 10 } |
(...skipping 11 matching lines...) Expand all Loading... |
22 width: 100px; | 22 width: 100px; |
23 height: 100px; | 23 height: 100px; |
24 overflow: auto; | 24 overflow: auto; |
25 } | 25 } |
26 #description { | 26 #description { |
27 clear: both; | 27 clear: both; |
28 } | 28 } |
29 | 29 |
30 </style> | 30 </style> |
31 | 31 |
32 <script src="../../http/tests/inspector/inspector-test.js"></script> | 32 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
33 <script src="../../http/tests/inspector/elements-test.js"></script> | 33 <script src="../../../http/tests/inspector/elements-test.js"></script> |
34 <script> | 34 <script> |
35 | 35 |
36 function onload() | 36 function onload() |
37 { | 37 { |
38 window.scrollBy(50, 100); | 38 window.scrollBy(50, 100); |
39 scrollingContainer = document.getElementById("scrollingContainer"); | 39 scrollingContainer = document.getElementById("scrollingContainer"); |
40 scrollingContainer.scrollTop = 50; | 40 scrollingContainer.scrollTop = 50; |
41 scrollingContainer.scrollLeft = 60; | 41 scrollingContainer.scrollLeft = 60; |
42 runTest(); | 42 runTest(); |
43 } | 43 } |
(...skipping 16 matching lines...) Expand all Loading... |
60 <div id="inspectedElement1" class="inspected"></div> | 60 <div id="inspectedElement1" class="inspected"></div> |
61 | 61 |
62 <div id="scrollingContainer"> | 62 <div id="scrollingContainer"> |
63 <div id="inspectedElement2" class="inspected"></div> | 63 <div id="inspectedElement2" class="inspected"></div> |
64 </div> | 64 </div> |
65 | 65 |
66 <p id="description">This test verifies the position and size of the highlight re
ctangles overlayed on an inspected div in the scrolled view.</p> | 66 <p id="description">This test verifies the position and size of the highlight re
ctangles overlayed on an inspected div in the scrolled view.</p> |
67 | 67 |
68 </body> | 68 </body> |
69 </html> | 69 </html> |
OLD | NEW |