Open Bug 1490474 Opened 6 years ago Updated 2 years ago

[wpt-sync] Sync PR 12955 - [IntersectionObserver] Fix over-invalidations in LocalFrameView

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12955 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12955 Details from upstream follow. Stefan Zager <szager@chromium.org> wrote: > [IntersectionObserver] Fix over-invalidations in LocalFrameView > > Prior to this patch, any call to SetNeedsIntersectionObservation would > cause all IntersectionObservers in all documents in the frame tree to > be marked as needing an update, even when they were not actually dirty. > This patch avoids propagating the dirty bit all the way up the frame > tree, so that each IntersectionObservation runs only when necessary. > > BUG=879798 > R=chrishtr@chromium.org > > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I6a5e7b3b966441aca9193a97026ca89c66e039b1 > Reviewed-on: https://chromium-review.googlesource.com/1212449 > WPT-Export-Revision: 0833fd145b7f77d1e21fc9cd1728e146ab6d8d39
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.