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

Side by Side Diff: third_party/WebKit/LayoutTests/intersection-observer/multiple-thresholds-expected.txt

Issue 2560253004: IntersectionObserver: convert tests to testharness.js (Closed)
Patch Set: Address comments Created 3 years, 11 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
(Empty)
1 Intersection observer test with multiple thresholds.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS entries.length is 0
7 PASS entries.length is 0
8 PASS entries.length is 1
9 PASS entries[0].boundingClientRect.left is 8
10 PASS entries[0].boundingClientRect.right is 108
11 PASS entries[0].boundingClientRect.top is 588
12 PASS entries[0].boundingClientRect.bottom is 688
13 PASS entries[0].intersectionRect.left is 8
14 PASS entries[0].intersectionRect.right is 108
15 PASS entries[0].intersectionRect.top is 588
16 PASS entries[0].intersectionRect.bottom is 600
17 PASS entries[0].rootBounds.left is 0
18 PASS entries[0].rootBounds.right is 785
19 PASS entries[0].rootBounds.top is 0
20 PASS entries[0].rootBounds.bottom is 600
21 PASS entries[0].intersectionRatio is within 0.0001 of 0.12
22 PASS entries[0].target is [object HTMLDivElement]
23 PASS entries.length is 2
24 PASS entries[1].boundingClientRect.left is 8
25 PASS entries[1].boundingClientRect.right is 108
26 PASS entries[1].boundingClientRect.top is 548
27 PASS entries[1].boundingClientRect.bottom is 648
28 PASS entries[1].intersectionRect.left is 8
29 PASS entries[1].intersectionRect.right is 108
30 PASS entries[1].intersectionRect.top is 548
31 PASS entries[1].intersectionRect.bottom is 600
32 PASS entries[1].rootBounds.left is 0
33 PASS entries[1].rootBounds.right is 785
34 PASS entries[1].rootBounds.top is 0
35 PASS entries[1].rootBounds.bottom is 600
36 PASS entries[1].intersectionRatio is within 0.0001 of 0.52
37 PASS entries[1].target is [object HTMLDivElement]
38 PASS entries.length is 3
39 PASS entries[2].boundingClientRect.left is 8
40 PASS entries[2].boundingClientRect.right is 108
41 PASS entries[2].boundingClientRect.top is 508
42 PASS entries[2].boundingClientRect.bottom is 608
43 PASS entries[2].intersectionRect.left is 8
44 PASS entries[2].intersectionRect.right is 108
45 PASS entries[2].intersectionRect.top is 508
46 PASS entries[2].intersectionRect.bottom is 600
47 PASS entries[2].rootBounds.left is 0
48 PASS entries[2].rootBounds.right is 785
49 PASS entries[2].rootBounds.top is 0
50 PASS entries[2].rootBounds.bottom is 600
51 PASS entries[2].intersectionRatio is within 0.0001 of 0.92
52 PASS entries[2].target is [object HTMLDivElement]
53 PASS entries.length is 4
54 PASS entries[3].boundingClientRect.left is 8
55 PASS entries[3].boundingClientRect.right is 108
56 PASS entries[3].boundingClientRect.top is 468
57 PASS entries[3].boundingClientRect.bottom is 568
58 PASS entries[3].intersectionRect.left is 8
59 PASS entries[3].intersectionRect.right is 108
60 PASS entries[3].intersectionRect.top is 468
61 PASS entries[3].intersectionRect.bottom is 568
62 PASS entries[3].rootBounds.left is 0
63 PASS entries[3].rootBounds.right is 785
64 PASS entries[3].rootBounds.top is 0
65 PASS entries[3].rootBounds.bottom is 600
66 PASS entries[3].intersectionRatio is within 0.0001 of 1
67 PASS entries[3].target is [object HTMLDivElement]
68 PASS entries.length is 5
69 PASS entries[4].boundingClientRect.left is 8
70 PASS entries[4].boundingClientRect.right is 108
71 PASS entries[4].boundingClientRect.top is -32
72 PASS entries[4].boundingClientRect.bottom is 68
73 PASS entries[4].intersectionRect.left is 8
74 PASS entries[4].intersectionRect.right is 108
75 PASS entries[4].intersectionRect.top is 0
76 PASS entries[4].intersectionRect.bottom is 68
77 PASS entries[4].rootBounds.left is 0
78 PASS entries[4].rootBounds.right is 785
79 PASS entries[4].rootBounds.top is 0
80 PASS entries[4].rootBounds.bottom is 600
81 PASS entries[4].intersectionRatio is within 0.0001 of 0.68
82 PASS entries[4].target is [object HTMLDivElement]
83 PASS entries.length is 6
84 PASS entries[5].boundingClientRect.left is 8
85 PASS entries[5].boundingClientRect.right is 108
86 PASS entries[5].boundingClientRect.top is -52
87 PASS entries[5].boundingClientRect.bottom is 48
88 PASS entries[5].intersectionRect.left is 8
89 PASS entries[5].intersectionRect.right is 108
90 PASS entries[5].intersectionRect.top is 0
91 PASS entries[5].intersectionRect.bottom is 48
92 PASS entries[5].rootBounds.left is 0
93 PASS entries[5].rootBounds.right is 785
94 PASS entries[5].rootBounds.top is 0
95 PASS entries[5].rootBounds.bottom is 600
96 PASS entries[5].intersectionRatio is within 0.0001 of 0.48
97 PASS entries[5].target is [object HTMLDivElement]
98 PASS entries.length is 7
99 PASS entries[6].boundingClientRect.left is 8
100 PASS entries[6].boundingClientRect.right is 108
101 PASS entries[6].boundingClientRect.top is -92
102 PASS entries[6].boundingClientRect.bottom is 8
103 PASS entries[6].intersectionRect.left is 8
104 PASS entries[6].intersectionRect.right is 108
105 PASS entries[6].intersectionRect.top is 0
106 PASS entries[6].intersectionRect.bottom is 8
107 PASS entries[6].rootBounds.left is 0
108 PASS entries[6].rootBounds.right is 785
109 PASS entries[6].rootBounds.top is 0
110 PASS entries[6].rootBounds.bottom is 600
111 PASS entries[6].intersectionRatio is within 0.0001 of 0.08
112 PASS entries[6].target is [object HTMLDivElement]
113 PASS entries.length is 8
114 PASS entries[7].boundingClientRect.left is 8
115 PASS entries[7].boundingClientRect.right is 108
116 PASS entries[7].boundingClientRect.top is -112
117 PASS entries[7].boundingClientRect.bottom is -12
118 PASS entries[7].intersectionRect.left is 0
119 PASS entries[7].intersectionRect.right is 0
120 PASS entries[7].intersectionRect.top is 0
121 PASS entries[7].intersectionRect.bottom is 0
122 PASS entries[7].rootBounds.left is 0
123 PASS entries[7].rootBounds.right is 785
124 PASS entries[7].rootBounds.top is 0
125 PASS entries[7].rootBounds.bottom is 600
126 PASS entries[7].intersectionRatio is within 0.0001 of 0
127 PASS entries[7].target is [object HTMLDivElement]
128 PASS successfullyParsed is true
129
130 TEST COMPLETE
131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698