Bug
1752790 [wpt PR 32615] - Abort Element::SetNeedsAnimationStyleRecalc during EnsureComputedStyle, a=testonly
Automatic update from web-platform-tests
Abort Element::SetNeedsAnimationStyleRecalc during EnsureComputedStyle
The animations machinery currently calls Element::
SetNeedsAnimationStyleRecalc during style resolution, but we early-out
from that function if Document::InStyleRecalc is true. This does
however not cover Element::EnsureComputedStyle, which means that
calling that function can actually mark elements for style recalc.
To address this, let InStyleRecalc be 'true' during
EnsureComputedStyle.
Fixed:
1290016
Change-Id: Ic25f2f7f22f3d3960d4ee0726c16d9a7a91f24b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3423875
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#966140}
--
wpt-commits:
e6a9666be4b0bbaa2f6726a0726e6b47806803e9
wpt-pr: 32615