[wpt-sync] Sync PR 62666 - [css-shadow] Fix up two WebKit-authored tests that never ran as intended
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62666 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62666
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
[css-shadow] Fix up two WebKit-authored tests that never ran as intended
Two WebKit-authored tests in
css/css-shadow/that do not run as intended here. Both trace to the same gap: WebKit pairs a reftest with its reference by filename (X-expected.html), so nothing on the WebKit side needs or notices a missing<link rel="match">.
slotted-text-with-flex.htmlwas exported in #55669 (October 2025) together with its reference. The exporter correctly renamed WebKit's-expected.htmlto-ref.html, but did not add therel=matchlink, so the two were never paired. The test uses no testharness either, so it has asserted nothing in CI since it landed. Linking the reference makes it run.It passes in WebKit, but it has never been measured in any other engine, so this may well surface genuine failures rather than land green.
hover-invalidates-slotted-descendant.htmlwas written for https://bugs.webkit.org/show_bug.cgi?id=315930 against WPT conventions — testdriver actions, absolute resource paths — but was never exported at all, so it is added here. Itsrel=helpis updated fromcss-scopingtocss-shadowto match the rest of the directory. It is currently skipped on iOS in WebKit, presumably because of testdriver pointer actions, so some platform noise is expected.The exporter dropping
rel=matchwhen it renames the reference is worth a WebKit bug on its own; it may have silently disarmed other exported reftests.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=91585
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 208 tests
Status Summary
Firefox
OK : 90
PASS : 1[GitHub] 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 352[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 439[Gecko-windows11-64-25h2-debug] 440[Gecko-windows11-64-25h2-opt] 445[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 446[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 24[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 43[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 44[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 50[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 1
Chrome
OK : 1
PASS : 1
FAIL : 1
Safari
OK : 1
PASS : 1
FAIL : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
New Tests That Don't Pass
- /css/css-shadow/font-face-001.html [wpt.fyi]
- @font-face applies in the shadow tree:
FAIL
- @font-face applies in the shadow tree:
- /css/css-shadow/font-face-005.html [wpt.fyi]
- @font-face should not leak out of shadow tree.:
FAIL
- @font-face should not leak out of shadow tree.:
- /css/css-shadow/font-face-007.html [wpt.fyi]
- @font-face from shadow applies to :host:
FAIL
- @font-face from shadow applies to :host:
- /css/css-shadow/font-face-008.html [wpt.fyi]
- @font-face from shadow applies to a slotted element:
FAIL
- @font-face from shadow applies to a slotted element:
- /css/css-shadow/font-face-009.html [wpt.fyi]
- @font-face from shadow applies to to :host::before/::after.:
FAIL
- @font-face from shadow applies to to :host::before/::after.:
- /css/css-shadow/has-slotted-functional-changing-001.tentative.html [wpt.fyi]
- Changing content targetting :has-slotted(...) and :has-slotted through a single shadow root:
FAIL
- Changing content targetting :has-slotted(...) and :has-slotted through a single shadow root:
- /css/css-shadow/has-slotted-functional-changing-002.tentative.html [wpt.fyi]
- Changing content targetting :has-slotted(...) through a single shadow root:
FAIL
- Changing content targetting :has-slotted(...) through a single shadow root:
- /css/css-shadow/has-slotted-functional-changing-003.tentative.html [wpt.fyi]
- Changing content targetting :has-slotted(...) and :has-slotted through multiple shadow roots:
FAIL
- Changing content targetting :has-slotted(...) and :has-slotted through multiple shadow roots:
- /css/css-shadow/has-slotted-functional-changing-004.tentative.html [wpt.fyi]
- Changing content targetting :has-slotted(...) through a single shadow root:
FAIL
- Changing content targetting :has-slotted(...) through a single shadow root:
- /css/css-shadow/host-context-parsing.html [wpt.fyi]
- ":host-context(.a)" should be a valid selector:
FAIL - ":host-context(div.a)" should be a valid selector:
FAIL
- ":host-context(.a)" should be a valid selector:
- /css/css-shadow/host-in-host-selector.html [wpt.fyi]
- CSS Scoping: :host(:host):
FAIL
- CSS Scoping: :host(:host):
- /css/css-shadow/hover-invalidates-slotted-descendant.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:OK) - /css/css-shadow/keyframes-002.html [wpt.fyi]
- @keyframes from the document should apply in the shadow tree:
FAIL
- @keyframes from the document should apply in the shadow tree:
- /css/css-shadow/keyframes-005.html [wpt.fyi]
- @keyframes should not leak out of the shadow tree.:
FAIL
- @keyframes should not leak out of the shadow tree.:
- /css/css-shadow/part/multiple-scopes.html [wpt.fyi]
- selector with ::part(original name) does not match from inner scope that exports the part:
FAIL
- selector with ::part(original name) does not match from inner scope that exports the part:
- /css/css-shadow/part/pseudo-classes-after-part.html [wpt.fyi]
- "::part(mypart):future" should be a valid selector:
FAIL - "::part(mypart):past" should be a valid selector:
FAIL - "::part(mypart):picture-in-picture" should be a valid selector:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - "::part(mypart):xr-overlay" should be a valid selector:
FAIL
- "::part(mypart):future" should be a valid selector:
- /css/css-shadow/part/pseudo-elements-after-part.html [wpt.fyi]
- "::part(mypart)::grammar-error" should be a valid selector:
FAIL - "::part(mypart)::search-text" should be a valid selector:
FAIL - "::part(mypart)::spelling-error" should be a valid selector:
FAIL - computed style for ::part()::grammar-error:
FAIL - computed style for ::part()::search-text:
FAIL - computed style for ::part()::spelling-error:
FAIL
- "::part(mypart)::grammar-error" should be a valid selector:
- /css/css-shadow/css-scoping-shadow-host-namespace.html [wpt.fyi]:
FAIL - /css/css-shadow/css-scoping-shadow-host-rule.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-shadow/css-scoping-shadow-root-hides-children.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-shadow/css-scoping-shadow-slotted-nested.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-shadow/css-scoping-shadow-slotted-rule.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-shadow/css-scoping-shadow-with-rules-no-style-leak.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-shadow/css-scoping-shadow-with-rules.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-shadow/has-slotted-functional-001.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/has-slotted-functional-004.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/has-slotted-functional-006.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/has-slotted-functional-007.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/has-slotted-functional-flattened-001.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/has-slotted-functional-flattened-004.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/has-slotted-functional-flattened-006.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/host-context-specificity-001.html [wpt.fyi]:
FAIL - /css/css-shadow/host-context-specificity-002.html [wpt.fyi]:
FAIL - /css/css-shadow/host-context-specificity-003.html [wpt.fyi]:
FAIL - /css/css-shadow/host-has-002.tentative.html [wpt.fyi]:
FAIL - /css/css-shadow/host-has-internal-001.html [wpt.fyi]:
FAIL - /css/css-shadow/host-has-internal-002.html [wpt.fyi]:
FAIL - /css/css-shadow/host-has-internal-003.html [wpt.fyi]:
FAIL - /css/css-shadow/host-has-internal-004.html [wpt.fyi]:
FAIL - /css/css-shadow/host-multiple-004.html [wpt.fyi]:
FAIL - /css/css-shadow/scoped-reference-animation-002.html [wpt.fyi]:
FAIL - /css/css-shadow/shadow-host-with-before-after.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt] - /css/css-shadow/part/exportparts-layered.html [wpt.fyi]:
FAIL - /css/css-shadow/part/interaction-with-nested-pseudo-class.html [wpt.fyi]:
PASS[Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],TIMEOUT[Gecko-windows11-64-25h2-debug]
Tests Disabled in Gecko Infrastructure
- /css/css-shadow/part/interaction-with-nested-pseudo-class.html [wpt.fyi]:
PASS[Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt],TIMEOUT[Gecko-windows11-64-25h2-debug] linked bugs:Bug 2011321, Bug 2010903
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/da24c435ee87
https://hg.mozilla.org/mozilla-central/rev/a562df3ba90c
Comment 5•2 months ago
|
||
| bugherder | ||
Description
•