Closed Bug 1881168 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44689 - Correctly invalidate styles when UsesStandardScrollbarStyle changes

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44689 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44689
Details from upstream follow.

Luke Warlow <lwarlow@igalia.com> wrote:

Correctly invalidate styles when UsesStandardScrollbarStyle changes

This patch invalidates layout and paint when UsesStandardScrollbarStyle
changes.

This fixes an issue where adding scrollbar-color to an element with
::-webkit-scrollbar styles causes the legacy scrollbar to disappear
without repainting the new standard one.

Bug: 41497285
Change-Id: I119bb4f96c06ef4efdcd985107c0be448c55dcd9
Reviewed-on: https://chromium-review.googlesource.com/5310160
WPT-Export-Revision: bbe3aabd7f46141cd5b36d54740f1f83a6d346ef

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d61967e01fa0 [wpt PR 44689] - Correctly invalidate styles when UsesStandardScrollbarStyle changes, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.