Bug 1836072 [wpt PR 40324] - Fix scrollbar-width repaint issues on non viewports...
commite62b2bc8046953d170153d369126e09715c5df74
authorLuke Warlow <luke@warlow.dev>
Mon, 19 Jun 2023 19:57:13 +0000 (19 19:57 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 21 Jun 2023 14:34:21 +0000 (21 14:34 +0000)
tree9155bfc5309eb6b3b8a77bea4c6692eea34657bb
parent358f24150a998c5979d0257430c6803511dfea15
Bug 1836072 [wpt PR 40324] - Fix scrollbar-width repaint issues on non viewports, a=testonly

Automatic update from web-platform-tests
Fix scrollbar-width repaint issues on non viewports

This patch fixes issues with dynamically switching between
scrollbar-width values.

Previously the ScrollbarWidth check would prevent
SetScrollbarNeedsPaintInvalidation from being called.

ScrollbarWidth is still checked for none values inside
ComputeScrollbarExistence and ScrollbarTheme implementations.

Only viewport level changes are still broken.

WPT tests included

Change-Id: I606e3ba7cecca160045af70f42cfea0567370216
Bug: 891944
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4567548
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1155115}

--

wpt-commits: a73e0d1ef317d164c58e51cd82006e9684649932
wpt-pr: 40324
testing/web-platform/tests/css/css-scrollbars/scrollbar-width-paint-004-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scrollbars/scrollbar-width-paint-004.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scrollbars/scrollbar-width-paint-005-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scrollbars/scrollbar-width-paint-005.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scrollbars/scrollbar-width-paint-006-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-scrollbars/scrollbar-width-paint-006.html [new file with mode: 0644]