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

Unified Diff: third_party/WebKit/LayoutTests/intersection-observer/display-none.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/intersection-observer/edge-inclusive-intersection.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/intersection-observer/display-none.html
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/display-none.html b/third_party/WebKit/LayoutTests/intersection-observer/display-none.html
index 28170f620ac846b243eb85fda10323940a52b438..7d105bf548f6f0467f19cb414e1b3a1f74a7af18 100644
--- a/third_party/WebKit/LayoutTests/intersection-observer/display-none.html
+++ b/third_party/WebKit/LayoutTests/intersection-observer/display-none.html
@@ -38,17 +38,17 @@ runTestCycle(function() {
function step0() {
runTestCycle(step1, "Not-intersecting notification after setting display:none on target.");
- checkLastEntry(entries, 0, [8, 108, 8, 108, 8, 108, 8, 108, 0, 800, 0, 600, target]);
+ checkLastEntry(entries, 0, [8, 108, 8, 108, 8, 108, 8, 108, 0, 800, 0, 600, true]);
target.style.display = "none";
}
function step1() {
runTestCycle(step2, "Intersecting notification after removing display:none on target.");
- checkLastEntry(entries, 1, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, target]);
+ checkLastEntry(entries, 1, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, false]);
target.style.display = "";
}
function step2() {
- checkLastEntry(entries, 2, [8, 108, 8, 108, 8, 108, 8, 108, 0, 800, 0, 600, target]);
+ checkLastEntry(entries, 2, [8, 108, 8, 108, 8, 108, 8, 108, 0, 800, 0, 600, true]);
}
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/intersection-observer/edge-inclusive-intersection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698