OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../resources/js-test.js"></script> | 2 <script src="../resources/js-test.js"></script> |
3 <script src="helper-functions.js"></script> | 3 <script src="helper-functions.js"></script> |
4 <div style="width:100%; height:700px;"></div> | 4 <div style="width:100%; height:700px;"></div> |
5 <div id="root" style="display: inline-block; overflow-y: scroll; height: 200px;"
> | 5 <div id="root" style="display: inline-block; overflow-y: scroll; height: 200px;"
> |
6 <div style="width:100px; height: 300px;"></div> | 6 <div style="width:100px; height: 300px;"></div> |
7 <div id="target" style="background-color: green; width:100px; height:100px"></
div> | 7 <div id="target" style="background-color: green; width:100px; height:100px"></
div> |
8 </div> | 8 </div> |
9 <div style="width:100%;height:700px;"></div> | 9 <div style="width:100%;height:700px;"></div> |
10 | 10 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 shouldBeEqualToNumber("entries[2].boundingClientRect.bottom", 958); | 98 shouldBeEqualToNumber("entries[2].boundingClientRect.bottom", 958); |
99 shouldBeEqualToNumber("entries[2].intersectionRect.left", 8); | 99 shouldBeEqualToNumber("entries[2].intersectionRect.left", 8); |
100 shouldBeEqualToNumber("entries[2].intersectionRect.right", 108); | 100 shouldBeEqualToNumber("entries[2].intersectionRect.right", 108); |
101 shouldBeEqualToNumber("entries[2].intersectionRect.top", 858); | 101 shouldBeEqualToNumber("entries[2].intersectionRect.top", 858); |
102 shouldBeEqualToNumber("entries[2].intersectionRect.bottom", 908); | 102 shouldBeEqualToNumber("entries[2].intersectionRect.bottom", 908); |
103 shouldBeEqualToNumber("entries[2].rootBounds.left", 8); | 103 shouldBeEqualToNumber("entries[2].rootBounds.left", 8); |
104 shouldBeEqualToNumber("entries[2].rootBounds.right", 108); | 104 shouldBeEqualToNumber("entries[2].rootBounds.right", 108); |
105 shouldBeEqualToNumber("entries[2].rootBounds.top", 708); | 105 shouldBeEqualToNumber("entries[2].rootBounds.top", 708); |
106 shouldBeEqualToNumber("entries[2].rootBounds.bottom", 908); | 106 shouldBeEqualToNumber("entries[2].rootBounds.bottom", 908); |
107 shouldEvaluateToSameObject("entries[2].target", target); | 107 shouldEvaluateToSameObject("entries[2].target", target); |
108 finishTest(); | 108 finishJSTest(); |
109 }); | 109 }); |
110 } | 110 } |
111 | 111 |
112 step0(); | 112 step0(); |
113 </script> | 113 </script> |
OLD | NEW |