Closed Bug 2086920 Opened 1 month ago Closed 20 days ago

[wpt-sync] Sync PR 64125 - [ScopedVT] Fix hit testing of captured scopes’ transition overlays

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Olga Gerchikov <gerchiko@microsoft.com> wrote:

[ScopedVT] Fix hit testing of captured scopes’ transition overlays

When a scoped view transition's root is also a captured participant,
PaintLayer::HitTestLayer() rejects its ordinary content before visiting
the transition pseudo subtree. This incorrectly prevents hits on the
scope's ::view-transition overlay.

Move the captured-content exclusion after the transition-pseudo hit-test
pass. This allows overlay hits while continuing to exclude captured
participants at their ordinary DOM locations, as required by CSS View
Transitions Level 2:
https://drafts.csswg.org/css-view-transitions-2/#view-transition-stacking-layer

Bug: 576731819
Change-Id: I0366a2ce2ce3c70b6f833a5e722ef06bed24923d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8635958
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Commit-Queue: Olga Gerchikov \<gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1726062}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 78 tests

Status Summary

Firefox

OK : 1[GitHub] 29[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 : 4[GitHub] 54[Gecko-linux2404-64-debug, 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-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 11

Chrome

OK : 1
FAIL : 4

Safari

OK : 1
FAIL : 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.