[wpt-sync] Sync PR 38398 - Fix fixed-position visual rect expansion with additional transforms/clips
Categories
(Core :: Web Painting, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38398 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38398
Details from upstream follow.
Xianzhu Wang <wangxianzhu@chromium.org> wrote:
Fix fixed-position visual rect expansion with additional transforms/clips
The previous code fails to expand fixed-position visual rect when
there are non-translation transforms or clips that change on scroll.This CL
- Removes the clip condition before expansion for fixed-position;
- Adjusts state to the scrolling contents space;
- Applies transforms before expanding fixed-position visual rect;
- Ignores clips because they may change on scroll.
MapFixedVisualRectInScrollForCompositingOverlap() replaces the
original ExpandFixedVisualRectInScroller(). It's similar to
MapVisualRectAboveScrollForCompositingOverlap() but is in the reversed
direction and ignores clips.Bug: 1400107
Change-Id: If3d43084227200dca92cdc0f14e741854fc40979Reviewed-on: https://chromium-review.googlesource.com/4219881
WPT-Export-Revision: cbc96ab5e584d9eddf3a22c1c8a0549953099c40
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
Description
•