Closed Bug 1625673 Opened 7 months ago Closed 7 months ago

[wpt-sync] Sync PR 22512 - Add tests for font-family: <generic-family>;

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Frédéric Wang <fwang@igalia.com> wrote:

Add tests for font-family: <generic-family>;

This adds tests to check rendering and serialization of the font-family
property with the <generic-family> names [1] as well as nonstandard
-webkit-* proprietary extensions. Because of the way font-family is
implemented in WebKit and Chromium, such -webkit-* values are
exposed and are even causing bugs in the implementation of standard
generic font family names. All these tests pass in Gecko.

[1] https://drafts.csswg.org/css-fonts-4/#generic-font-families

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

CI Results

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

Total 50 tests

Status Summary

Firefox

OK : 3
PASS: 25[GitHub] 72[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 8

Chrome

OK : 3
PASS: 6
FAIL: 27

Safari

OK : 3
PASS: 14
FAIL: 19

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-fonts/generic-family-keywords-001.html
@font-face matching for quoted and unquoted ui-rounded: FAIL (Chrome: FAIL, Safari: FAIL)
@font-face matching for quoted and unquoted math: FAIL (Chrome: FAIL, Safari: FAIL)
@font-face matching for quoted and unquoted emoji: FAIL (Chrome: FAIL, Safari: FAIL)
@font-face matching for quoted and unquoted system: FAIL (Chrome: FAIL, Safari: FAIL)
@font-face matching for quoted and unquoted ui-serif: FAIL (Chrome: FAIL, Safari: FAIL)
@font-face matching for quoted and unquoted fangsong: FAIL (Chrome: FAIL, Safari: FAIL)
@font-face matching for quoted and unquoted ui-monospace: FAIL (Chrome: FAIL, Safari: FAIL)
@font-face matching for quoted and unquoted ui-sans-serif: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3b40903fdbb
[wpt PR 22512] - Add tests for font-family: <generic-family>;, a=testonly
https://hg.mozilla.org/integration/autoland/rev/e409a332d6f9
[wpt PR 22512] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.