[wpt-sync] Sync PR 47587 - Speculativly test :has-slotted()
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47587 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47587
Details from upstream follow.
Westbrook Johnson <westbrook.johnson@gmail.com> wrote:
Speculativly test :has-slotted()
As per https://github.com/w3c/csswg-drafts/pull/10586
:has-slotted()
is coming!This adds parsing tests as well as some red/green tests for actual delivery of the selectors in practice.
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 15 tests and 23 subtests
Status Summary
Firefox
OK
: 1
PASS
: 10
FAIL
: 27
Chrome
OK
: 1
PASS
: 10
FAIL
: 27
Safari
OK
: 1
PASS
: 10
FAIL
: 27
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-scoping/has-slotted-001.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/has-slotted-004.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/has-slotted-006.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/has-slotted-007.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/has-slotted-flattened-001.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/has-slotted-flattened-004.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/has-slotted-flattened-006.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/has-slotted-flattened-007.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/selectors/parsing/parse-has-slotted.tentative.html [wpt.fyi]
- ":has-slotted(bar)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted([attr="foo"])" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(*)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(.class)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(#id)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(:not(foo))" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(:not(:nth-last-of-type(2)):not([slot="foo"]))" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(:first-child)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(:hover)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(foo):first-child" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(foo):hover" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(foo):focus" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(foo):lang(en)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(foo):dir(ltr)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(foo) + :has-slotted(bar)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":not(:has-slotted(foo))" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(div + div)" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted(div:has(> span))" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - ":has-slotted" should be a valid selector:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- ":has-slotted(bar)" should be a valid selector:
Comment 4•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/33299c67798e
https://hg.mozilla.org/mozilla-central/rev/24d92a9be4d5
Description
•