OLD | NEW |
1 Simple intersection observer test with explicit root and target in the same docu
ment. | 1 Simple intersection observer test with explicit root and target in the same docu
ment. |
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 entries.length is 0 | 6 PASS entries.length is 0 |
7 PASS entries.length is 0 | 7 PASS entries.length is 0 |
8 PASS entries.length is 0 | |
9 PASS entries.length is 1 | 8 PASS entries.length is 1 |
10 PASS entries[0].boundingClientRect.left is 11 | 9 PASS entries[0].boundingClientRect.left is 11 |
11 PASS entries[0].boundingClientRect.right is 111 | 10 PASS entries[0].boundingClientRect.right is 111 |
12 PASS entries[0].boundingClientRect.top is 261 | 11 PASS entries[0].boundingClientRect.top is 261 |
13 PASS entries[0].boundingClientRect.bottom is 361 | 12 PASS entries[0].boundingClientRect.bottom is 361 |
14 PASS entries[0].intersectionRect.left is 11 | 13 PASS entries[0].intersectionRect.left is 11 |
15 PASS entries[0].intersectionRect.right is 111 | 14 PASS entries[0].intersectionRect.right is 111 |
16 PASS entries[0].intersectionRect.top is 261 | 15 PASS entries[0].intersectionRect.top is 261 |
17 PASS entries[0].intersectionRect.bottom is 311 | 16 PASS entries[0].intersectionRect.bottom is 311 |
18 PASS entries[0].rootBounds.left is 11 | 17 PASS entries[0].rootBounds.left is 11 |
(...skipping 27 matching lines...) Expand all Loading... |
46 PASS entries[2].intersectionRect.bottom is 911 | 45 PASS entries[2].intersectionRect.bottom is 911 |
47 PASS entries[2].rootBounds.left is 11 | 46 PASS entries[2].rootBounds.left is 11 |
48 PASS entries[2].rootBounds.right is 111 | 47 PASS entries[2].rootBounds.right is 111 |
49 PASS entries[2].rootBounds.top is 711 | 48 PASS entries[2].rootBounds.top is 711 |
50 PASS entries[2].rootBounds.bottom is 911 | 49 PASS entries[2].rootBounds.bottom is 911 |
51 PASS entries[2].target is [object HTMLDivElement] | 50 PASS entries[2].target is [object HTMLDivElement] |
52 PASS successfullyParsed is true | 51 PASS successfullyParsed is true |
53 | 52 |
54 TEST COMPLETE | 53 TEST COMPLETE |
55 | 54 |
OLD | NEW |