[wpt-sync] Sync PR 64403 - [VT] Skip scoped transitions when scope becomes document root
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64403 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64403
Details from upstream follow.
Olga Gerchikov <gerchiko@microsoft.com> wrote:
[VT] Skip scoped transitions when scope becomes document root
A scoped view transition's element can become the document element after
the transition is created. This invalidates an assumption in
UnsupportedCapture() and triggers a CHECK failure.Treat this case as an unsupported capture and skip the transition.
Change-Id: I98e05e084e7e34400e37d5010459f642dbd8a4c4
Bug: 578581694
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8672240
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Commit-Queue: Olga Gerchikov \<gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1731681}
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116393
| Assignee | ||
Comment 2•8 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 79 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 30[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 5
FAIL : 2[GitHub] 54[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 73[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 11
Chrome
CRASH : 1
Safari
OK : 1
FAIL : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-view-transitions/scoped/crashtests/container-query.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/display-change-after-capture.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/display-change-contents-after-capture.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/element-moved-to-new-document.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/first-letter-pseudo.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/implicit-stacking-context.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/mask-image.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/participating-scope.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/shadow-dom.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/shuffle.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/crashtests/zindex-part.html [wpt.fyi]:
TIMEOUT - /css/css-view-transitions/scoped/auto-nesting.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/clip-on-target-in-callback-2.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/clip-on-target-in-callback.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/display-change-during-transition.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/ink-overflow-on-target.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/mask-image-capture.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/mask-image-overlay.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/scope-containment-pseudo-border.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/scope-during-transition-2.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/scrolled-target-position-rtl.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/scrolled-target-position.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/shadow-dom.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/target-in-scrolled-container.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/transform-clip.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/active-pseudo.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/ancestor-display-change.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/box-decoration-painting.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/centered-paint-offset.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/clipper-non-containing-block.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/display-change.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/fractional-border-shift.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/from-scale-zero.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/implicit-contain.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/nested-scope.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/new-content.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/old-content.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/overflow-excludes-pseudo.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/paint-order.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/pause-rendering-resize.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/pause-rendering.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/rotation-on-scoped-element.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/scroller-with-child.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/to-scale-zero.html [wpt.fyi]:
FAIL - /css/css-view-transitions/scoped/auto-name-on-descendant.html [wpt.fyi]
- Scoped view transition with name auto on the scoped element:
FAIL
- Scoped view transition with name auto on the scoped element:
- /css/css-view-transitions/scoped/auto-name.html [wpt.fyi]
- Scoped view transition with name auto on the scoped element:
FAIL
- Scoped view transition with name auto on the scoped element:
- /css/css-view-transitions/scoped/callback-order.tentative.html [wpt.fyi]
- View transition DOM callbacks triggered in creation order.:
FAIL
- View transition DOM callbacks triggered in creation order.:
- /css/css-view-transitions/scoped/capture.html [wpt.fyi]
- View-transition pseudo elements created for correct element:
FAIL - Capture with concurrent scoped view-transitions:
FAIL
- View-transition pseudo elements created for correct element:
- /css/css-view-transitions/scoped/collision.html [wpt.fyi]
- collision:
FAIL
- collision:
- /css/css-view-transitions/scoped/display-inline-block.html [wpt.fyi]
- Scoped view transition on an inline-block element:
FAIL
- Scoped view transition on an inline-block element:
- /css/css-view-transitions/scoped/display-none-during-transition.html [wpt.fyi]
- Display none during a view transition skips the transition.:
FAIL
- Display none during a view transition skips the transition.:
- /css/css-view-transitions/scoped/document-element-start-view-transition.html [wpt.fyi]
- Synchronously starting a view transition on document.documentElement skips the previously active document view transition.:
FAIL - Synchronously starting a view transition on document skips the previously active view transition on document.documentElement.:
FAIL
- Synchronously starting a view transition on document.documentElement skips the previously active document view transition.:
- /css/css-view-transitions/scoped/element-active-view-transition.html [wpt.fyi]
- document.activeViewTransition returns the active transition:
FAIL
- document.activeViewTransition returns the active transition:
- /css/css-view-transitions/scoped/element-moved-to-new-document.html [wpt.fyi]
- moving scope element to new document via appendChild skips transition and rejects ready:
FAIL - adopting scope element to new document via adoptNode skips transition and rejects ready:
FAIL - moving ancestor of scope element to new document skips transition and rejects ready:
FAIL - removing scope element from document skips transition and rejects ready:
FAIL - removing ancestor of scope element from document skips transition and rejects ready:
FAIL
- moving scope element to new document via appendChild skips transition and rejects ready:
- /css/css-view-transitions/scoped/element-scoped-containment-invalid-state.html [wpt.fyi]
- startViewTransition on non-atomic inline (span) rejects ready with InvalidStateError:
FAIL - startViewTransition on display: contents rejects ready with InvalidStateError:
FAIL - startViewTransition on display: none rejects ready with InvalidStateError:
FAIL - startViewTransition on table row (internal table element) rejects ready with InvalidStateError:
FAIL - Element-scoped view transition is aborted if style changes to preclude layout containment:
FAIL
- startViewTransition on non-atomic inline (span) rejects ready with InvalidStateError:
- /css/css-view-transitions/scoped/fill-forwards.html [wpt.fyi]
- View transition animations do not persist once the transition is finished even if animation-fill-mode is forwards:
FAIL
- View transition animations do not persist once the transition is finished even if animation-fill-mode is forwards:
- /css/css-view-transitions/scoped/hit-test-vt-overlay.html [wpt.fyi]
- hit-test-vt-overlay:
FAIL
- hit-test-vt-overlay:
- /css/css-view-transitions/scoped/hit-testing.html [wpt.fyi]
- A view-transition participant is not a valid target for hit testing:
FAIL
- A view-transition participant is not a valid target for hit testing:
- /css/css-view-transitions/scoped/missing-view-transition-name.html [wpt.fyi]
- Scoped view transition excludes animations for root element:
FAIL
- Scoped view transition excludes animations for root element:
- /css/css-view-transitions/scoped/negative-playback-rate.html [wpt.fyi]
- View transition duration affected by playback rate:
FAIL
- View transition duration affected by playback rate:
- /css/css-view-transitions/scoped/remove-child-in-callback.html [wpt.fyi]
- Removing a named child in updateCallback does not reject ready:
FAIL - Removing a named child in async updateCallback across rAF does not reject ready:
FAIL
- Removing a named child in updateCallback does not reject ready:
- /css/css-view-transitions/scoped/run_in_parallel.html [wpt.fyi]
- Concurrent transition keeps running after transition skipped:
FAIL - Concurrent transition keeps running after transition finished:
FAIL - Concurrent transition keeps running after transition canceled:
FAIL
- Concurrent transition keeps running after transition skipped:
- /css/css-view-transitions/scoped/scope-becomes-document-element.html [wpt.fyi]
- A scope becoming the document element before capture skips the transition:
FAIL(Safari:FAIL) - A scope becoming the document element during the update callback skips the transition:
FAIL(Safari:FAIL)
- A scope becoming the document element before capture skips the transition:
- /css/css-view-transitions/scoped/scope-containment-during-capture.html [wpt.fyi]
- Ensure scoped view transition elements apply internal size containment during the capture and DOM callback phases:
FAIL
- Ensure scoped view transition elements apply internal size containment during the capture and DOM callback phases:
- /css/css-view-transitions/scoped/scope-containment-keeps-author-remembered-size.html [wpt.fyi]
- A scoped view transition doesn't discard the scope's last remembered size:
FAIL
- A scoped view transition doesn't discard the scope's last remembered size:
- /css/css-view-transitions/scoped/scope-containment-remembered-size.html [wpt.fyi]
- Remembered size accounts for padding and border:
FAIL - Remembered size accounts for vertical writing mode:
FAIL - Remembered size accounts for zoom:
FAIL
- Remembered size accounts for padding and border:
- /css/css-view-transitions/scoped/scope-containment-sibling-offset.html [wpt.fyi]
- Sibling layout positions are preserved during the DOM callback due to scope size containment:
FAIL
- Sibling layout positions are preserved during the DOM callback due to scope size containment:
- /css/css-view-transitions/scoped/scope-display-none.html [wpt.fyi]
- Scope with named child becoming display: none during update callback skips transition and rejects ready:
FAIL - Scope with named child becoming display: none during animation skips transition:
FAIL - Named scope becoming display: none during update callback skips transition and rejects ready:
FAIL - Named scope becoming display: none during animation skips transition:
FAIL
- Scope with named child becoming display: none during update callback skips transition and rejects ready:
- /css/css-view-transitions/scoped/scope-during-transition-1.html [wpt.fyi]
- view-transition-scope updated to all during transition and reset after finishing the transition:
FAIL - view-transition-scope updated to all during transition and reset after aborting the transition:
FAIL - Auto-reset of "view-transition-scope: all" does not clobber an explicitly set value:
FAIL
- view-transition-scope updated to all during transition and reset after finishing the transition:
- /css/css-view-transitions/scoped/start-view-transition-on-disconnected-element.html [wpt.fyi]
- startViewTransition without callback on disconnected element immediately skips and rejects ready:
FAIL - startViewTransition with callback on disconnected element runs callback, resolves finished, and rejects ready:
FAIL - startViewTransition with failing callback on disconnected element rejects finished with callback error:
FAIL - startViewTransition on element in disconnected subtree immediately skips and rejects ready:
FAIL
- startViewTransition without callback on disconnected element immediately skips and rejects ready:
- /css/css-view-transitions/scoped/start-view-transition.html [wpt.fyi]
- start-view-transition:
FAIL
- start-view-transition:
- /css/css-view-transitions/scoped/view-transition-scope-added-during-callback.html [wpt.fyi]
- Setting view-transition-scope to auto blocks propagation of name discovery.:
FAIL
- Setting view-transition-scope to auto blocks propagation of name discovery.:
- /css/css-view-transitions/scoped/view-transition-scope-display-contents.html [wpt.fyi]
- Setting view-transition-scope to auto blocks propagation of name discovery.:
FAIL
- Setting view-transition-scope to auto blocks propagation of name discovery.:
- /css/css-view-transitions/scoped/view-transition-scope-name-discovery.html [wpt.fyi]
- Setting view-transition-scope to auto blocks propagation of name discovery.:
FAIL
- Setting view-transition-scope to auto blocks propagation of name discovery.:
Tests Disabled in Gecko Infrastructure
- /css/css-view-transitions/scoped/auto-nesting.html [wpt.fyi]:
SKIPlinked bug:Bug 2020860 - /css/css-view-transitions/scoped/clip-on-target-in-callback-2.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/clip-on-target-in-callback.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/display-change-during-transition.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/ink-overflow-on-target.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/mask-image-capture.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/mask-image-overlay.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/scope-containment-pseudo-border.html [wpt.fyi]:
SKIPlinked bug:Bug 2057332 - /css/css-view-transitions/scoped/scope-during-transition-2.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/scrolled-target-position-rtl.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/scrolled-target-position.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/shadow-dom.html [wpt.fyi]:
SKIP - /css/css-view-transitions/scoped/target-in-scrolled-container.html [wpt.fyi]:
SKIPlinked bug:Bug 2002311 - /css/css-view-transitions/scoped/transform-clip.html [wpt.fyi]:
SKIP
Comment 4•4 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7d04db727ba5
https://hg.mozilla.org/mozilla-central/rev/b662b9a3678e
Description
•