[wpt-sync] Sync PR 49155 - Fix solid color thumb quad under large scale
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49155 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49155
Details from upstream follow.
Xianzhu Wang <wangxianzhu@chromium.org> wrote:
Fix solid color thumb quad under large scale
If a layer has a large scale, visible_layer_rect() can't reliably
clip a quad before scaling because a "pixel" in the layer is very
large and scale-after-clip will create a quad exceeding the clip.clip
large-scale
layerNow share more code with the non-solid-color-thumb code path.
For a AppendQuads method, to ensure the clip rect is applied, it's
better to call PopulateScaledSharedQuadState() instead of creating a
shared quad state by itself.Bug: 377948403
Change-Id: I8d7dd08fe9fc7907685bfbaa1a5fd5682688aed0Reviewed-on: https://chromium-review.googlesource.com/6014683
WPT-Export-Revision: 7523ad2d19e065a38cdf97e8c2f5b7911b210564
Assignee | ||
Updated•27 days ago
|
Assignee | ||
Comment 1•27 days ago
|
||
Assignee | ||
Comment 2•27 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS
: 1
Chrome
FAIL
: 1
Safari
PASS
: 1
Description
•