mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
3370e3b76b
Automatic update from web-platform-tests [IntersectionObserver] If necessary, schedule a frame after delay If the following sequence happens: - IntersectionObserver sends a notification - Layout is dirtied in a way that should generate a new notification - Lifecyce update runs - IntersectionObserver skips processing due to its 'delay' parameter ... then we need to guarantee that the IntersectionObserver will send the necessary notification after the required delay. If animation frames are being regularly generated, this won't be a problem, because the observer will get a chance to run at the end of every lifecycle update. But if the document goes dormant, and frames are not being regularly generated, then we must force a lifecycle update after enough time has passed, to give the observer a chance to run. Change-Id: I74b63486e5c9b05c662f9e2e6e1c0b4baf00eba5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1812798 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/master@{#699093} -- wpt-commits: ac95b44dc6369126f8b97ea1308921533dfdd39b wpt-pr: 19173 |
||
---|---|---|
.. | ||
resources | ||
v2 | ||
bounding-box.html | ||
client-rect.html | ||
containing-block.html | ||
cross-origin-iframe.sub.html | ||
disconnect.html | ||
display-none.html | ||
edge-inclusive-intersection.html | ||
empty-root-margin.html | ||
idlharness.window.js | ||
iframe-no-root-with-wrapping-scroller.html | ||
iframe-no-root.html | ||
initial-observation-with-threshold.html | ||
inline-client-rect.html | ||
inline-with-block-child-client-rect.html | ||
isIntersecting-change-events.html | ||
isIntersecting-threshold.html | ||
META.yml | ||
multiple-targets.html | ||
multiple-thresholds.html | ||
observer-attributes.html | ||
observer-exceptions.html | ||
observer-in-iframe.html | ||
observer-without-js-reference.html | ||
remove-element.html | ||
root-margin-root-element.html | ||
root-margin-rounding.html | ||
root-margin.html | ||
rtl-clipped-root.html | ||
same-document-no-root.html | ||
same-document-root.html | ||
same-document-zero-size-target.html | ||
same-origin-grand-child-iframe.sub.html | ||
shadow-content.html | ||
target-in-different-window.html | ||
text-target.html | ||
timestamp.html | ||
unclipped-root.html | ||
zero-area-element-hidden.html | ||
zero-area-element-visible.html |