Bug 1803098 [wpt PR 37225] - Improve performance of compute-kind-widget-no-fallback...
commitccefd3ad1ff99c0f60c37c179cc993b79054802f
authorAnders Hartvoll Ruud <andruud@chromium.org>
Wed, 7 Dec 2022 14:03:03 +0000 (7 14:03 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 11 Dec 2022 12:07:58 +0000 (11 12:07 +0000)
tree51f2b5cc8791eaac6da9a917c226c49737abc951
parent7b2064c7a108f3fd10092cff43eb879310b573a7
Bug 1803098 [wpt PR 37225] - Improve performance of compute-kind-widget-no-fallback-props-001.html, a=testonly

Automatic update from web-platform-tests
Improve performance of compute-kind-widget-no-fallback-props-001.html

This test is flaky on debug bots (timeout), and it takes a while to
get the first frame when testing locally in a release build as well.

Instead of doing style recalc thousands of times, batch all mutations
together and do recalc once at the end.

Bug: 1382611
Change-Id: I43bb73d7bff6b81ede63dfa58d2a18a97b017d1a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4061597
Reviewed-by: Steinar H Gunderson <sesse@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1076776}

--

wpt-commits: 8b0c791dff483c1a1812aaa6050d60e89fc8b660
wpt-pr: 37225
testing/web-platform/tests/css/css-ui/compute-kind-widget-no-fallback-props-001.html