From c71db60c387278f4c1de288da00217e17c702fba Mon Sep 17 00:00:00 2001 From: Rune Lillesveen Date: Thu, 5 Mar 2020 21:32:29 +0000 Subject: [PATCH] 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 Reviewed-by: Anders Hartvoll Ruud Cr-Commit-Position: refs/heads/master@{#746434} -- wpt-commits: 4e0932a9f4ee407e0c0a80a54fa36d414089086a wpt-pr: 22059 --- .../img-alt-crash-001.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001.html diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001.html b/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001.html new file mode 100644 index 000000000000..b057967e7e96 --- /dev/null +++ b/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/img-alt-crash-001.html @@ -0,0 +1,15 @@ + +Crash test: img alt rendering in combination with style attribute selector + + + + +alternative text + -- 2.11.4.GIT