Closed Bug 2084634 Opened 1 month ago Closed 28 days ago

[wpt-sync] Sync PR 63956 - WebVTT tests can have small pixel differences due to font smoothing over semi-transparent backgrounds

Categories

(Core :: Audio/Video: Playback, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 63956 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63956
Details from upstream follow.

Jer Noble <jer.noble@apple.com> wrote:

WebVTT tests can have small pixel differences due to font smoothing over semi-transparent backgrounds

Small pixel differences can creep in when fonts are painted atop semi-transparent backgrounds, when the cue is contained in a composited layer instead of a normal painting context. To make these tests more robust and precise, use a solid background for testing rather than a semi-transparent one.

This change results in 67 additional WebVTT rendering tests passing on macOS and iOS.

WebKit-Bug: https://bugs.webkit.org/show_bug.cgi?id=327712
WebKit-Canonical-Link: https://commits.webkit.org/323876@main

PR 63956 applied with additional changes from upstream: a66675e12459125e68fefab00efc7b81d6d29210, ed96db1b2169ac6eab2dceb4bd894e37c8c61847

Component: web-platform-tests → Audio/Video: Playback
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 251 tests

Status Summary

Firefox

PASS: 27[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] 31[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 35[Gecko-windows11-64-25h2-debug] 37[Gecko-windows11-64-25h2-opt] 44[GitHub]
FAIL: 157[GitHub] 185[Gecko-windows11-64-25h2-opt] 187[Gecko-windows11-64-25h2-debug] 190[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] 191[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

PASS: 102
FAIL: 99

Safari

PASS: 58
FAIL: 143

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

(See attachment for full changes)

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fd5b08b865b5 https://hg.mozilla.org/integration/autoland/rev/7a3d5ddf6ee8 [wpt PR 63956] - WebVTT tests can have small pixel differences due to font smoothing over semi-transparent backgrounds, a=testonly
Status: NEW → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: