Closed Bug 1951401 Opened 12 days ago Closed 10 days ago

[wpt-sync] Sync PR 51048 - Make sibling-index()/sibling-count() use flat tree

Categories

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

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Make sibling-index()/sibling-count() use flat tree

Introduce a mode for counting assigned slot siblings for host children
instead of their light tree sibling order. The :nth-*() selectors
still consider the light tree.

We cache the light-tree index for non-host children to be able to share
as much as possible of cached indices between the :nth-*() selectors and
the sibling-index() values.

Bug: 40282719

Change-Id: If1381471bea3498835df76fdc826162667bf8017
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6304506
Reviewed-by: Steinar H Gunderson \<sesse@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1427060}

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 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 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/3d4c4eeb0816 [wpt PR 51048] - Make sibling-index()/sibling-count() use flat tree, a=testonly https://hg.mozilla.org/integration/autoland/rev/bfa32310be1c [wpt PR 51048] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.