OLD | NEW |
(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 1 |
| 8 PASS entries[0].boundingClientRect.left is 8 |
| 9 PASS entries[0].boundingClientRect.right is 108 |
| 10 PASS entries[0].boundingClientRect.top is 588 |
| 11 PASS entries[0].boundingClientRect.bottom is 688 |
| 12 PASS entries[0].intersectionRect.left is 8 |
| 13 PASS entries[0].intersectionRect.right is 108 |
| 14 PASS entries[0].intersectionRect.top is 588 |
| 15 PASS entries[0].intersectionRect.bottom is 600 |
| 16 PASS entries[0].rootBounds.left is 0 |
| 17 PASS entries[0].rootBounds.right is 785 |
| 18 PASS entries[0].rootBounds.top is 0 |
| 19 PASS entries[0].rootBounds.bottom is 600 |
| 20 PASS entries[0].target is [object HTMLDivElement] |
| 21 PASS entries.length is 2 |
| 22 PASS entries[1].boundingClientRect.left is 8 |
| 23 PASS entries[1].boundingClientRect.right is 108 |
| 24 PASS entries[1].boundingClientRect.top is 548 |
| 25 PASS entries[1].boundingClientRect.bottom is 648 |
| 26 PASS entries[1].intersectionRect.left is 8 |
| 27 PASS entries[1].intersectionRect.right is 108 |
| 28 PASS entries[1].intersectionRect.top is 548 |
| 29 PASS entries[1].intersectionRect.bottom is 600 |
| 30 PASS entries[1].rootBounds.left is 0 |
| 31 PASS entries[1].rootBounds.right is 785 |
| 32 PASS entries[1].rootBounds.top is 0 |
| 33 PASS entries[1].rootBounds.bottom is 600 |
| 34 PASS entries[1].target is [object HTMLDivElement] |
| 35 PASS entries.length is 3 |
| 36 PASS entries[2].boundingClientRect.left is 8 |
| 37 PASS entries[2].boundingClientRect.right is 108 |
| 38 PASS entries[2].boundingClientRect.top is 508 |
| 39 PASS entries[2].boundingClientRect.bottom is 608 |
| 40 PASS entries[2].intersectionRect.left is 8 |
| 41 PASS entries[2].intersectionRect.right is 108 |
| 42 PASS entries[2].intersectionRect.top is 508 |
| 43 PASS entries[2].intersectionRect.bottom is 600 |
| 44 PASS entries[2].rootBounds.left is 0 |
| 45 PASS entries[2].rootBounds.right is 785 |
| 46 PASS entries[2].rootBounds.top is 0 |
| 47 PASS entries[2].rootBounds.bottom is 600 |
| 48 PASS entries[2].target is [object HTMLDivElement] |
| 49 PASS entries.length is 3 |
| 50 PASS entries.length is 4 |
| 51 PASS entries[3].boundingClientRect.left is 8 |
| 52 PASS entries[3].boundingClientRect.right is 108 |
| 53 PASS entries[3].boundingClientRect.top is -32 |
| 54 PASS entries[3].boundingClientRect.bottom is 68 |
| 55 PASS entries[3].intersectionRect.left is 8 |
| 56 PASS entries[3].intersectionRect.right is 108 |
| 57 PASS entries[3].intersectionRect.top is 0 |
| 58 PASS entries[3].intersectionRect.bottom is 68 |
| 59 PASS entries[3].rootBounds.left is 0 |
| 60 PASS entries[3].rootBounds.right is 785 |
| 61 PASS entries[3].rootBounds.top is 0 |
| 62 PASS entries[3].rootBounds.bottom is 600 |
| 63 PASS entries[3].target is [object HTMLDivElement] |
| 64 PASS entries.length is 5 |
| 65 PASS entries[4].boundingClientRect.left is 8 |
| 66 PASS entries[4].boundingClientRect.right is 108 |
| 67 PASS entries[4].boundingClientRect.top is -52 |
| 68 PASS entries[4].boundingClientRect.bottom is 48 |
| 69 PASS entries[4].intersectionRect.left is 8 |
| 70 PASS entries[4].intersectionRect.right is 108 |
| 71 PASS entries[4].intersectionRect.top is 0 |
| 72 PASS entries[4].intersectionRect.bottom is 48 |
| 73 PASS entries[4].rootBounds.left is 0 |
| 74 PASS entries[4].rootBounds.right is 785 |
| 75 PASS entries[4].rootBounds.top is 0 |
| 76 PASS entries[4].rootBounds.bottom is 600 |
| 77 PASS entries[4].target is [object HTMLDivElement] |
| 78 PASS entries.length is 6 |
| 79 PASS entries[5].boundingClientRect.left is 8 |
| 80 PASS entries[5].boundingClientRect.right is 108 |
| 81 PASS entries[5].boundingClientRect.top is -92 |
| 82 PASS entries[5].boundingClientRect.bottom is 8 |
| 83 PASS entries[5].intersectionRect.left is 8 |
| 84 PASS entries[5].intersectionRect.right is 108 |
| 85 PASS entries[5].intersectionRect.top is 0 |
| 86 PASS entries[5].intersectionRect.bottom is 8 |
| 87 PASS entries[5].rootBounds.left is 0 |
| 88 PASS entries[5].rootBounds.right is 785 |
| 89 PASS entries[5].rootBounds.top is 0 |
| 90 PASS entries[5].rootBounds.bottom is 600 |
| 91 PASS entries[5].target is [object HTMLDivElement] |
| 92 PASS entries.length is 7 |
| 93 PASS entries[6].boundingClientRect.left is 8 |
| 94 PASS entries[6].boundingClientRect.right is 108 |
| 95 PASS entries[6].boundingClientRect.top is -112 |
| 96 PASS entries[6].boundingClientRect.bottom is -12 |
| 97 PASS entries[6].intersectionRect.left is 0 |
| 98 PASS entries[6].intersectionRect.right is 0 |
| 99 PASS entries[6].intersectionRect.top is 0 |
| 100 PASS entries[6].intersectionRect.bottom is 0 |
| 101 PASS entries[6].rootBounds.left is 0 |
| 102 PASS entries[6].rootBounds.right is 785 |
| 103 PASS entries[6].rootBounds.top is 0 |
| 104 PASS entries[6].rootBounds.bottom is 600 |
| 105 PASS entries[6].target is [object HTMLDivElement] |
| 106 PASS successfullyParsed is true |
| 107 |
| 108 TEST COMPLETE |
| 109 |
OLD | NEW |