[wpt-sync] Sync PR 51228 - Make tree-counting functions tree-scoped
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 51228 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/51228
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Make tree-counting functions tree-scoped
sibling-index() and sibling-count() evaluate to 0 when applied by a rule
from an outer tree-scope relative to the element's tree-scope.Bug: 40282719
Change-Id: If392f8f89f7926965aa4aee0d33f38ecbecf9bdeReviewed-on: https://chromium-review.googlesource.com/6332720
WPT-Export-Revision: 0929b33bcd774917182693f57bbf62dd31ed3f1b
Assignee | ||
Updated•7 days ago
|
Assignee | ||
Comment 1•7 days ago
|
||
Assignee | ||
Comment 2•7 days ago
|
||
CI Results
Ran 9 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
PASS
: 1
FAIL
: 1
Safari
OK
: 1
FAIL
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-values/tree-scoped-sibling-function.tentative.html [wpt.fyi]
- sibling-index() and sibling-count() evaluates to 0 from outer tree with ::part:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - sibling-index() and sibling-count() evaluate as normal from inner tree:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- sibling-index() and sibling-count() evaluates to 0 from outer tree with ::part:
Description
•