OLD | NEW |
1 Simple intersection observer test with no explicit root and target in an iframe. | 1 Simple intersection observer test with no explicit root and target in an iframe. |
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 8 | 10 PASS entries[0].boundingClientRect.left is 8 |
10 PASS entries[0].boundingClientRect.right is 108 | 11 PASS entries[0].boundingClientRect.right is 108 |
11 PASS entries[0].boundingClientRect.top is -42 | 12 PASS entries[0].boundingClientRect.top is -42 |
12 PASS entries[0].boundingClientRect.bottom is 58 | 13 PASS entries[0].boundingClientRect.bottom is 58 |
13 PASS entries[0].intersectionRect.left is 8 | 14 PASS entries[0].intersectionRect.left is 8 |
14 PASS entries[0].intersectionRect.right is 108 | 15 PASS entries[0].intersectionRect.right is 108 |
15 PASS entries[0].intersectionRect.top is 0 | 16 PASS entries[0].intersectionRect.top is 0 |
16 PASS entries[0].intersectionRect.bottom is 58 | 17 PASS entries[0].intersectionRect.bottom is 58 |
17 PASS entries[0].rootBounds.left is 0 | 18 PASS entries[0].rootBounds.left is 0 |
(...skipping 13 matching lines...) Expand all Loading... |
31 PASS entries[1].rootBounds.left is 0 | 32 PASS entries[1].rootBounds.left is 0 |
32 PASS entries[1].rootBounds.right is 785 | 33 PASS entries[1].rootBounds.right is 785 |
33 PASS entries[1].rootBounds.top is 0 | 34 PASS entries[1].rootBounds.top is 0 |
34 PASS entries[1].rootBounds.bottom is 600 | 35 PASS entries[1].rootBounds.bottom is 600 |
35 PASS entries[1].target is [object HTMLDivElement] | 36 PASS entries[1].target is [object HTMLDivElement] |
36 PASS successfullyParsed is true | 37 PASS successfullyParsed is true |
37 | 38 |
38 TEST COMPLETE | 39 TEST COMPLETE |
39 | 40 |
40 | 41 |
OLD | NEW |