Closed
Bug 1911437
Opened 3 months ago
Closed 3 months ago
[wpt-sync] Sync PR 47441 - Test :host(:has(...)) and :host:has(...) selectors
Categories
(Core :: CSS Parsing and Computation, task, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
131 Branch
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47441 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47441
Details from upstream follow.
Westbrook Johnson <westbrook.johnson@gmail.com> wrote:
Test :host(:has(...)) and :host:has(...) selectors
:host(:has(...))
works really well is Safari, sort of well in Firefox and not at all in Chrome. It's not really spec'd (IIUC) but normalizing on the output expected by developers and provided by Safari already seems like a good destination to work towards:host:has(...)
doesn't work anywhere and isn't spec'd anywhere (IIUC) but this is how I would tentatively expect it to work, similar to that way the:host(.class)
references a class "outside" of the shadow root and:host:after
references a pseudo element inside of the shadow root.Both of these types of selectors would likely benefit from various combinator tests and
Assignee | ||
Updated•3 months ago
|
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee | ||
Updated•3 months ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•3 months ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=30391118697f9f3b72a26362300b3f600244a6c7
Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests
Status Summary
Firefox
PASS
: 2
FAIL
: 4
Chrome
FAIL
: 6
Safari
PASS
: 3
FAIL
: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-scoping/host-has-002.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:PASS
) - /css/css-scoping/host-has-internal-001.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/host-has-internal-002.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-scoping/host-has-internal-003.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/803bcb7689b4
[wpt PR 47441] - Test :host(:has(...)) and :host:has(...) selectors, a=testonly
https://hg.mozilla.org/integration/autoland/rev/566dd793ad7e
[wpt PR 47441] - Update wpt metadata, a=testonly
Comment 4•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/803bcb7689b4
https://hg.mozilla.org/mozilla-central/rev/566dd793ad7e
Status: NEW → RESOLVED
Closed: 3 months ago
status-firefox131:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•