diff --git a/intersection-observer/animating.html b/intersection-observer/animating.html index af27d018662b93..4d402b296aa8a7 100644 --- a/intersection-observer/animating.html +++ b/intersection-observer/animating.html @@ -18,8 +18,8 @@ } @keyframes slideup { 0% { transform: translateY(0) } - 30% { transform: translateY(0) } - 31% { transform: translateY(-2000px) } + 50% { transform: translateY(0) } + 51% { transform: translateY(-2000px) } 100% { transform: translateY(-2000px) } } @@ -40,10 +40,10 @@ } }); }); - target.style.animation = "3s linear slideup"; + target.style.animation = "4s linear slideup"; setTimeout(() => { - reject("Did not get a not-intersecting notification within 2 seconds."); - }, 2000); + reject("Did not get a not-intersecting notification within 3 seconds."); + }, 3000); target.addEventListener("animationend", evt => { reject("animationend event fired before not-intersecting notification."); }); diff --git a/intersection-observer/root-is-table-with-overflow-scroll.html b/intersection-observer/root-is-table-with-overflow-scroll.html new file mode 100644 index 00000000000000..cdebe22d8a5841 --- /dev/null +++ b/intersection-observer/root-is-table-with-overflow-scroll.html @@ -0,0 +1,73 @@ + +
| + + | +