Closed Bug 1824032 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39151 - vt: Input targets documentElement while render-blocked

Categories

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

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Bokan <bokan@chromium.org> wrote:

vt: Input targets documentElement while render-blocked

This is done per the resolution in
https://github.com/w3c/csswg-drafts/issues/7797#issuecomment-1470359727

This is a direct revert of commit https://crrev.com/f4b3a78fc4 which
explicitly dropped input while rendering was blocked for a view
transition capture.

Reverting the above CL indirectly implements the desired behavior from
the CSSWG resolution. The reason is that the UA stylesheet gives the
::view-transition pseudo width/height: 100% which is viewport filling.
Pseudo elements already route input events to their owning DOM element,
in this case the document :root. Authors cannot change this as their
pseudo styles get applied only once the view transition animation
starts, see [1].

[1] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/view_transition/view_transition_style_tracker.cc;l=1116;drc=f599ac6c54b827d30f79a8f15bf1e2661af8925a

Bug: 1424821,1368757
Change-Id: I4a0efa5180c69225cb34661c5cea3e8aba95a4d1

Reviewed-on: https://chromium-review.googlesource.com/4362639
WPT-Export-Revision: 5a91258416e31bb496fb586b7e8b997d1870d62c

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 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/8974ad6be9ec [wpt PR 39151] - vt: Input targets documentElement while render-blocked, a=testonly https://hg.mozilla.org/integration/autoland/rev/7b07ffca6ab2 [wpt PR 39151] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.