Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Side by Side Diff: third_party/WebKit/LayoutTests/intersection-observer/iframe-root.html

Issue 1648123004: Fix lazy test result printing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 id="target" style="width:100px; height:300px"></div> 6 <div id="target" style="width:100px; height:300px"></div>
7 <iframe id="target-iframe" src="../resources/intersection-observer-subframe.ht ml" style="width: 300px; height: 100px; overflow-y: scroll"></iframe> 7 <iframe id="target-iframe" src="../resources/intersection-observer-subframe.ht ml" style="width: 300px; height: 100px; overflow-y: scroll"></iframe>
8 </div> 8 </div>
9 <div style="width:100%; height:700px;"></div> 9 <div style="width:100%; height:700px;"></div>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 shouldBeEqualToNumber("entries[1].boundingClientRect.bottom", 918); 87 shouldBeEqualToNumber("entries[1].boundingClientRect.bottom", 918);
88 shouldBeEqualToNumber("entries[1].intersectionRect.left", 0); 88 shouldBeEqualToNumber("entries[1].intersectionRect.left", 0);
89 shouldBeEqualToNumber("entries[1].intersectionRect.right", 0); 89 shouldBeEqualToNumber("entries[1].intersectionRect.right", 0);
90 shouldBeEqualToNumber("entries[1].intersectionRect.top", 0); 90 shouldBeEqualToNumber("entries[1].intersectionRect.top", 0);
91 shouldBeEqualToNumber("entries[1].intersectionRect.bottom", 0); 91 shouldBeEqualToNumber("entries[1].intersectionRect.bottom", 0);
92 shouldBeEqualToNumber("entries[1].rootBounds.left", 8); 92 shouldBeEqualToNumber("entries[1].rootBounds.left", 8);
93 shouldBeEqualToNumber("entries[1].rootBounds.right", 312); 93 shouldBeEqualToNumber("entries[1].rootBounds.right", 312);
94 shouldBeEqualToNumber("entries[1].rootBounds.top", 608); 94 shouldBeEqualToNumber("entries[1].rootBounds.top", 608);
95 shouldBeEqualToNumber("entries[1].rootBounds.bottom", 808); 95 shouldBeEqualToNumber("entries[1].rootBounds.bottom", 808);
96 shouldEvaluateToSameObject("entries[1].target", target); 96 shouldEvaluateToSameObject("entries[1].target", target);
97 finishTest(); 97 finishJSTest();
98 document.scrollingElement.scrollTop = 0; 98 document.scrollingElement.scrollTop = 0;
99 }); 99 });
100 } 100 }
101 101
102 step0(); 102 step0();
103 } 103 }
104 </script> 104 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698