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