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

Unified Diff: third_party/WebKit/LayoutTests/intersection-observer/remove-element.html

Issue 2662993002: [IntersectionObserver] Add isIntersecting field. (Closed)
Patch Set: webexposed Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/intersection-observer/remove-element.html
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/remove-element.html b/third_party/WebKit/LayoutTests/intersection-observer/remove-element.html
index f60aa232d8924f72e9dba7e78b02f9bdaadc292b..0417814fd8db27891aa2bd878a51acc07abcfafe 100644
--- a/third_party/WebKit/LayoutTests/intersection-observer/remove-element.html
+++ b/third_party/WebKit/LayoutTests/intersection-observer/remove-element.html
@@ -57,20 +57,20 @@ runTestCycle(function() {
function step0() {
root.scrollTop = 150;
runTestCycle(step1, "root.scrollTop = 150");
- checkLastEntry(entries, 0, [11, 111, 311, 411, 0, 0, 0, 0, 11, 111, 11, 211, target]);
+ checkLastEntry(entries, 0, [11, 111, 311, 411, 0, 0, 0, 0, 11, 111, 11, 211, false]);
}
function step1() {
root.removeChild(target);
runTestCycle(step2, "root.removeChild(target).");
- checkLastEntry(entries, 1, [11, 111, 161, 261, 11, 111, 161, 211, 11, 111, 11, 211, target]);
+ checkLastEntry(entries, 1, [11, 111, 161, 261, 11, 111, 161, 211, 11, 111, 11, 211, true]);
}
function step2() {
root.scrollTop = 0;
root.insertBefore(target, trailingSpace);
runTestCycle(step3, "root.insertBefore(target, trailingSpace).");
- checkLastEntry(entries, 2, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, target]);
+ checkLastEntry(entries, 2, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, false]);
}
function step3() {
@@ -80,6 +80,6 @@ function step3() {
}
function step4() {
- checkLastEntry(entries, 3, [11, 111, 161, 261, 11, 111, 161, 211, 11, 111, 11, 211, target]);
+ checkLastEntry(entries, 3, [11, 111, 161, 261, 11, 111, 161, 211, 11, 111, 11, 211, true]);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698