Closed Bug 1891741 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 45738 - [css-scroll-snap-2] Set snapTargets to owning element of pseudo-element areas

Categories

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

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Awogbemila <awogbemila@chromium.org> wrote:

[css-scroll-snap-2] Set snapTargets to owning element of pseudo-element areas

Currently, JavaScript cannot interact with pseudo-elements in the same
way that it can with regular elements. This is raised in a spec
issue[1] where the current proposal is to treat snap events involving
pseudo-elements the same way that pointer events treat pseudo-elements:
let the snapTarget be the owning element.

[1] https://github.com/w3c/csswg-drafts/issues/10175

Bug: 40273052,40286359
Change-Id: I9e2a99de94eada4e06bcdab753d45f4ae46a2e46
Reviewed-on: https://chromium-review.googlesource.com/5458351
WPT-Export-Revision: e4dd33f869aeef2585e97fb31d7fd315a3b0fa1c

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

CI Results

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

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
FAIL: 2

Chrome

OK : 1
FAIL: 2

Safari

OK : 1
FAIL: 2

Links

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/38148bdd1be1 [wpt PR 45738] - [css-scroll-snap-2] Set snapTargets to owning element of pseudo-element areas, a=testonly https://hg.mozilla.org/integration/autoland/rev/0f729a2ec75f [wpt PR 45738] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.