Closed Bug 1816766 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38499 - vt: iframe scrollbars paint last during transition

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Bokan <bokan@chromium.org> wrote:

vt: iframe scrollbars paint last during transition

In a main frame, scrollbars paint during the kOverlayOverflowControls
phase while in an iframe they paint during kSelfBlockBackgroundOnly. The
former causes the scrollbars to avoid being part of the root snapshot
due to the way we handled https://crbug.com/1303081. The latter causes
the scrollbar to be painted into the iframe's root snapshot which is
unintended.

This CL changes the paint order of iframe scrollbars to match the main
frame for the duration of the transition so that snapshots behave the
same way.

Bug: 1407299
Change-Id: Ida74507e59b16f64134807ed56487fc6fb569e1c
Reviewed-on: https://chromium-review.googlesource.com/4241484
WPT-Export-Revision: 86688cd4b6efe13c184336a2d04e419cd24e3a7d

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 3 tests

Status Summary

Firefox

TIMEOUT: 3

Chrome

FAIL : 3

Safari

TIMEOUT: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/da0dd0ed2b52 [wpt PR 38499] - vt: iframe scrollbars paint last during transition, a=testonly https://hg.mozilla.org/integration/autoland/rev/d0fb9fde7eca [wpt PR 38499] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c631eb6fba8 [wpt PR 38499] - vt: iframe scrollbars paint last during transition, a=testonly https://hg.mozilla.org/integration/autoland/rev/c2f330ebd601 [wpt PR 38499] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.