Bug 1619536 [wpt PR 22059] - Avoid scheduling invalidation sets from style recalc...
commitc71db60c387278f4c1de288da00217e17c702fba
authorRune Lillesveen <futhark@chromium.org>
Thu, 5 Mar 2020 21:32:29 +0000 (5 21:32 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 6 Mar 2020 22:29:58 +0000 (6 22:29 +0000)
tree9144ada465f70a1a7bdc9b2cabf2ae9bae1495d3
parentbe935eecedf2a855b02f3de556ddaed0a47944fe
Bug 1619536 [wpt PR 22059] - Avoid scheduling invalidation sets from style recalc., a=testonly

Automatic update from web-platform-tests
Avoid scheduling invalidation sets from style recalc.

Sadly, we do SetInlineStyleProperty() for UA shadow DOM during style
recalc in some cases. Make sure that we don't schedule any invalidation
while in style reacalc as that would leave use with a dirty tree for
style invalidations after UpdateStyle().

This fixes a regression introduced in [1] where we unified the
invalidation code for the various ways of changing the inline style.

[1] https://crrev.com/2faf55836255e6762141712d943c47f3208c8ac4

Bug: 1057210
Change-Id: I0edab4acc03baefe0fb386c15dce78e0f8e041ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2082382
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746434}

--

wpt-commits: 4e0932a9f4ee407e0c0a80a54fa36d414089086a
wpt-pr: 22059
testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001.html [new file with mode: 0644]