NEW310211
[macOS] imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url.html is a flaky image diff
https://bugs.webkit.org/show_bug.cgi?id=310211
Summary [macOS] imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/proc...
Diego De La Toba
Reported 2026-03-18 13:56:40 PDT
imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url.html is a flaky image diff on macOS HISTORY: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebvtt%2Frendering%2Fcues-with-video%2Fprocessing-model%2Fselectors%2Fcue%2Fbackground_shorthand_css_relative_url.html DIFF: https://build.webkit.org/results/Apple-Tahoe-Debug-AppleSilicon-WK2-Tests/309478@main%20(1348)/imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url-diffs.html IMAGES: See attached. REPRODUCTION: I was able to reproduce this on macOS Tahoe Release and Debug with the following: run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=469 --force -f --debug imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url.html I am going to mark expectations as imageOnlyFailure Pass while this pends investigation
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-18 13:56:51 PDT
Diego De La Toba
Comment 2 2026-03-18 14:00:14 PDT
Test gardening pull request: https://github.com/WebKit/WebKit/pull/60882
EWS
Comment 3 2026-03-18 14:06:35 PDT
Test gardening commit 309501@main (ca7657d68d24): <https://commits.webkit.org/309501@main> Reviewed commits have been landed. Closing PR #60882 and removing active labels.
Diego De La Toba
Comment 4 2026-03-18 14:37:01 PDT
The test is flaky because the onplaying event handler called takeScreenshot() immediately after pausing the video. This results in a blank screenshot (no cue text visible) compared against the reference that always shows the text due to video rendering times being slower on debug and release builds under load. The fix is to add a 10ms delay before the screenshot.
Diego De La Toba
Comment 5 2026-03-18 14:39:49 PDT
Note You need to log in before you can comment on or make changes to this bug.