Closed Bug 1946425 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 50526 - [carousel] Don't create ::scroll-marker without ::scroll-marker-group

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Daniil Sakhapov <sakhapov@chromium.org> wrote:

[carousel] Don't create ::scroll-marker without ::scroll-marker-group

As per spec, when ::scroll-marker's nearest ancestor scroll container
scroll container has a computed scroll-marker-group property that is
not none, the pseudo-element generates a box attached as a child of
the ::scroll-marker-group pseudo-element’s generated box on its
nearest ancestor scroll container.

So, we shouldn't create ::scroll-marker without ::scroll-marker-group.
For this, style recalc context will keep track of if there is any
element with scroll-marker-group property.

Fixed: 383552420
Change-Id: I7217f87677d3a6c470056eae8773ba6ae3b4c749
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6229916
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Daniil Sakhapov \<sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416737}

Component: web-platform-tests → Layout: Scrolling and Overflow
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 1 subtests

Status Summary

Firefox

OK : 1
FAIL : 1

Chrome

CRASH: 1

Safari

OK : 1
FAIL : 1

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/89e053cc7115 [wpt PR 50526] - [carousel] Don't create ::scroll-marker without ::scroll-marker-group, a=testonly https://hg.mozilla.org/integration/autoland/rev/0d21e87890c5 [wpt PR 50526] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.