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

Unified Diff: third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt

Issue 1776493002: IntersectionObserver: use an idle callback to send notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: syntax error Created 4 years, 9 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/root-margin-expected.txt
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt b/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt
index 910c2781be9ef396ec3efbc0ebade2c76ec7720d..a88ff826869e155c665b8ba6c73a1b5af25dcbe4 100644
--- a/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt
@@ -3,11 +3,13 @@ Intersection observer test with root margin and implicit root.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px' }) did not throw exception.
-PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px' }) did not throw exception.
-PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px 3%' }) did not throw exception.
-PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px 3% 40px junk junk junk' }) did not throw exception.
+PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px' }) did not throw exception.
+PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px 2px' }) did not throw exception.
+PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px 2px 3%' }) did not throw exception.
+PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px 2px 3% 40px junk junk junk' }) did not throw exception.
PASS entries.length is 0
+PASS entries.length is 0
+PASS entries.length is 1
PASS entries.length is 1
PASS entries[0].boundingClientRect.left is 912
PASS entries[0].boundingClientRect.right is 1012

Powered by Google App Engine
This is Rietveld 408576698