[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)
Tracking
()
| 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
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
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
Details
New Tests That Don't Pass
- /css/css-scroll-snap-2/snap-events-with-pseudo-target.tentative.html [wpt.fyi]
- snapTarget for snapchanged is the owning element when a snap area belongs to a pseudo-element:
FAIL(Chrome:FAIL, Safari:FAIL) - snapTarget for snapchanging is the owning element when a snap area belongs to a pseudo-element:
FAIL(Chrome:FAIL, Safari:FAIL)
- snapTarget for snapchanged is the owning element when a snap area belongs to a pseudo-element:
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/38148bdd1be1
https://hg.mozilla.org/mozilla-central/rev/0f729a2ec75f
Description
•