[wpt-sync] Sync PR 38422 - vt: Handle transitions in an empty document
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| 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 fromcapture_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=0c4306fc554c80506eb0f9b833a5d2a5fdd452d5Bug: 1414069
Change-Id: I05489ee590f43309285e7f54de02b6781891b854
Reviewed-on: https://chromium-review.googlesource.com/4232863
WPT-Export-Revision: a6ffc584e9969795ad85d6e5841ccc7eb9229119
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years 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
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
- /css/css-view-transitions/transition-in-empty-iframe.html [wpt.fyi]:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/98a0bc611b7b
https://hg.mozilla.org/mozilla-central/rev/904a46f90533
Description
•