OLD | NEW |
(Empty) | |
| 1 Simple intersection observer test with explicit root and target in the same docu
ment. |
| 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 258 |
| 12 PASS entries[0].boundingClientRect.bottom is 358 |
| 13 PASS entries[0].intersectionRect.left is 8 |
| 14 PASS entries[0].intersectionRect.right is 108 |
| 15 PASS entries[0].intersectionRect.top is 258 |
| 16 PASS entries[0].intersectionRect.bottom is 308 |
| 17 PASS entries[0].rootBounds.left is 8 |
| 18 PASS entries[0].rootBounds.right is 108 |
| 19 PASS entries[0].rootBounds.top is 108 |
| 20 PASS entries[0].rootBounds.bottom is 308 |
| 21 PASS entries[0].target is [object HTMLDivElement] |
| 22 PASS entries.length is 1 |
| 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 1008 |
| 27 PASS entries[1].boundingClientRect.bottom is 1108 |
| 28 PASS entries[1].intersectionRect.left is 0 |
| 29 PASS entries[1].intersectionRect.right is 0 |
| 30 PASS entries[1].intersectionRect.top is 0 |
| 31 PASS entries[1].intersectionRect.bottom is 0 |
| 32 PASS entries[1].rootBounds.left is 8 |
| 33 PASS entries[1].rootBounds.right is 108 |
| 34 PASS entries[1].rootBounds.top is 708 |
| 35 PASS entries[1].rootBounds.bottom is 908 |
| 36 PASS entries[1].target is [object HTMLDivElement] |
| 37 PASS entries.length is 3 |
| 38 PASS entries[2].boundingClientRect.left is 8 |
| 39 PASS entries[2].boundingClientRect.right is 108 |
| 40 PASS entries[2].boundingClientRect.top is 858 |
| 41 PASS entries[2].boundingClientRect.bottom is 958 |
| 42 PASS entries[2].intersectionRect.left is 8 |
| 43 PASS entries[2].intersectionRect.right is 108 |
| 44 PASS entries[2].intersectionRect.top is 858 |
| 45 PASS entries[2].intersectionRect.bottom is 908 |
| 46 PASS entries[2].rootBounds.left is 8 |
| 47 PASS entries[2].rootBounds.right is 108 |
| 48 PASS entries[2].rootBounds.top is 708 |
| 49 PASS entries[2].rootBounds.bottom is 908 |
| 50 PASS entries[2].target is [object HTMLDivElement] |
| 51 PASS successfullyParsed is true |
| 52 |
| 53 TEST COMPLETE |
| 54 |
OLD | NEW |