Closed Bug 1941358 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 50051 - [css-fonts] Add a test that src:local matches a single face, not a whole family.

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Jonathan Kew <jfkthame@gmail.com> wrote:

[css-fonts] Add a test that src:local matches a single face, not a whole family.

This was discussed at some length several years ago in https://github.com/web-platform-tests/wpt/pull/28990, but the test there never got merged.

Given the time that has passed, it seemed cleanest to rewrite this as a new PR that simply adds the test we concluded was missing.

This test depends on having a locally-installed Arial font family, which is true across all current macOS and Windows versions, but may not be the case on other platforms; in that case it falls back to Ahem and should harmlessly "pass" without really testing anything.

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9371b084b00f [wpt PR 50051] - [css-fonts] Add a test that src:local matches a single face, not a whole family., a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.