Closed Bug 2071757 Opened 2 months ago Closed 2 months ago

[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)

task

Tracking

()

RESOLVED FIXED
158 Branch
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.html was exported in #55669 (October 2025) together with its reference. The exporter correctly renamed WebKit's -expected.html to -ref.html, but did not add the rel=match link, 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.html was 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. Its rel=help is updated from css-scoping to css-shadow to 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=match when it renames the reference is worth a WebKit bug on its own; it may have silently disarmed other exported reftests.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

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

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.