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

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

Issue 1449623002: IntersectionObserver: second cut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix rootMargin parsing Created 5 years 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
(Empty)
1 CONSOLE MESSAGE: line 23: boundingClientRect=[18, 118, 593, 693]
2 intersectionRect=[18, 118, 593, 658]
3 rootBounds=[8, 312, 458, 658]
4 target=[object HTMLDivElement]
5 time=1449536.924
6 CONSOLE MESSAGE: line 23: boundingClientRect=[18, 118, 818, 918]
7 intersectionRect=[0, 0, 0, 0]
8 rootBounds=[8, 312, 608, 808]
9 target=[object HTMLDivElement]
10 time=1449536.924
11 Simple intersection observer test with no explicit root and target in an iframe.
12
13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
14
15
16 PASS entries.length is 0
17 PASS entries.length is 0
18 PASS entries.length is 0
19 PASS entries.length is 1
20 PASS entries[0].boundingClientRect.left is 18
21 PASS entries[0].boundingClientRect.right is 118
22 PASS entries[0].boundingClientRect.top is 593
23 PASS entries[0].boundingClientRect.bottom is 693
24 PASS entries[0].intersectionRect.left is 18
25 PASS entries[0].intersectionRect.right is 118
26 PASS entries[0].intersectionRect.top is 593
27 PASS entries[0].intersectionRect.bottom is 658
28 PASS entries[0].rootBounds.left is 8
29 PASS entries[0].rootBounds.right is 312
30 PASS entries[0].rootBounds.top is 458
31 PASS entries[0].rootBounds.bottom is 658
32 PASS entries[0].target is [object Object]
33 PASS entries.length is 1
34 PASS entries.length is 2
35 PASS entries[1].boundingClientRect.left is 18
36 PASS entries[1].boundingClientRect.right is 118
37 PASS entries[1].boundingClientRect.top is 818
38 PASS entries[1].boundingClientRect.bottom is 918
39 PASS entries[1].intersectionRect.left is 0
40 PASS entries[1].intersectionRect.right is 0
41 PASS entries[1].intersectionRect.top is 0
42 PASS entries[1].intersectionRect.bottom is 0
43 PASS entries[1].rootBounds.left is 8
44 PASS entries[1].rootBounds.right is 312
45 PASS entries[1].rootBounds.top is 608
46 PASS entries[1].rootBounds.bottom is 808
47 PASS entries[1].target is [object Object]
48 PASS successfullyParsed is true
49
50 TEST COMPLETE
51
52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698