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

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

Issue 1806133002: IntersectionObserver: use an idle callback to send notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 4 years, 8 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 Intersection observer test with root margin and implicit root. 1 Intersection observer test with root margin and implicit root.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px' }) did no t throw exception. 6 PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px' }) did not throw ex ception.
7 PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px' }) di d not throw exception. 7 PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px 2px' }) did not thro w exception.
8 PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px 3%' }) did not throw exception. 8 PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px 2px 3%' }) did not t hrow exception.
9 PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px 3% 40p x junk junk junk' }) did not throw exception. 9 PASS new IntersectionObserver(c => {}, { rootMargin: '1.4px 2px 3% 40px junk jun k junk' }) did not throw exception.
10 PASS entries.length is 0 10 PASS entries.length is 0
11 PASS entries.length is 0
12 PASS entries.length is 1
11 PASS entries.length is 1 13 PASS entries.length is 1
12 PASS entries[0].boundingClientRect.left is 912 14 PASS entries[0].boundingClientRect.left is 912
13 PASS entries[0].boundingClientRect.right is 1012 15 PASS entries[0].boundingClientRect.right is 1012
14 PASS entries[0].boundingClientRect.top is 708 16 PASS entries[0].boundingClientRect.top is 708
15 PASS entries[0].boundingClientRect.bottom is 808 17 PASS entries[0].boundingClientRect.bottom is 808
16 PASS entries[0].intersectionRect.left is 912 18 PASS entries[0].intersectionRect.left is 912
17 PASS entries[0].intersectionRect.right is 942 19 PASS entries[0].intersectionRect.right is 942
18 PASS entries[0].intersectionRect.top is 708 20 PASS entries[0].intersectionRect.top is 708
19 PASS entries[0].intersectionRect.bottom is 808 21 PASS entries[0].intersectionRect.bottom is 808
20 PASS entries[0].rootBounds.left is -30 22 PASS entries[0].rootBounds.left is -30
(...skipping 14 matching lines...) Expand all
35 PASS entries[1].rootBounds.left is -30 37 PASS entries[1].rootBounds.left is -30
36 PASS entries[1].rootBounds.right is 942 38 PASS entries[1].rootBounds.right is 942
37 PASS entries[1].rootBounds.top is -10 39 PASS entries[1].rootBounds.top is -10
38 PASS entries[1].rootBounds.bottom is 819 40 PASS entries[1].rootBounds.bottom is 819
39 PASS entries[1].target is [object HTMLDivElement] 41 PASS entries[1].target is [object HTMLDivElement]
40 PASS successfullyParsed is true 42 PASS successfullyParsed is true
41 43
42 TEST COMPLETE 44 TEST COMPLETE
43 45
44 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698