Bug
1788443 [wpt PR 35671] - [scroll-animations] Recalculate siblings for display:none and similar, a=testonly
Automatic update from web-platform-tests
[scroll-animations] Recalculate siblings for display:none and similar
We already recalculate subsequent siblings whenever the computed value
of scroll-timeline-name/axis changes, however this only applies when
both the old and new style exist. In other words, it does not work
properly when transitioning to/from display:none, or other cases where
an element is inserted/removed.
Fixed by returning kSiblingDescendantAffecting whenever a ComputedStyle
appears or disappears with a non-empty scroll-timeline-name.
Bug:
1317765
Change-Id: I904d448ad591d6c8a396af718cc2f0b91f7b211a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3859615
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1040864}
--
wpt-commits:
527425c9a9e51c7e2b7205c2da6663b85877f1c6
wpt-pr: 35671