Closed Bug 1815775 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38422 - vt: Handle transitions in an empty document

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 38422 into mozilla-central (this bug is closed when the sync is complete).

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

David Bokan <bokan@chromium.org> wrote:

vt: Handle transitions in an empty document

An iframe can be empty which results in no painted output. In this case,
when performing a view transition the snapshot generating RenderSurface
will be dropped in [1]. However, there's still a transition request
referencing the output of that RenderSurface. This is handled for empty
elements by tracking which elements didn't produce a render pass[2].
However, this list is generated from capture_resource_ids_ which
avoided the root (in a main frame, the root cannot be empty).

[1] https://source.chromium.org/chromium/chromium/src/+/main:cc/trees/draw_property_utils.cc;l=1107;drc=0c4306fc554c80506eb0f9b833a5d2a5fdd452d5
[2] https://source.chromium.org/chromium/chromium/src/+/main:cc/view_transition/view_transition_request.cc;l=118;drc=0c4306fc554c80506eb0f9b833a5d2a5fdd452d5

Bug: 1414069
Change-Id: I05489ee590f43309285e7f54de02b6781891b854
Reviewed-on: https://chromium-review.googlesource.com/4232863
WPT-Export-Revision: a6ffc584e9969795ad85d6e5841ccc7eb9229119

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 1 tests

Status Summary

Firefox

TIMEOUT: 1

Chrome

PASS : 1

Safari

TIMEOUT: 1

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/98a0bc611b7b [wpt PR 38422] - vt: Handle transitions in an empty document, a=testonly https://hg.mozilla.org/integration/autoland/rev/904a46f90533 [wpt PR 38422] - 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.