Support variation-font format hints for @font-face resources

RESOLVED FIXED in Firefox 60

Status

()

enhancement
RESOLVED FIXED
Last year
Last year

People

(Reporter: jfkthame, Assigned: jfkthame)

Tracking

(Blocks 1 bug)

unspecified
mozilla60
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox60 fixed)

Details

Attachments

(2 attachments)

Assignee

Description

Last year
CSS Fonts Level 4 introduces new format hints for fonts that require variation support, so authors can provide alternative resources for browsers that don't support variations. Spec: https://drafts.csswg.org/css-fonts-4/#src-desc.
Assignee

Comment 2

Last year
There should eventually be much more extensive variation-font tests coming along in web-platform tests (Microsoft has a bunch of testcases currently under review, for example), but in the meantime this is a simple reftest to check that we accept the new format hints (only when our variation-font pref is enabled).
Attachment #8949713 - Flags: review?(jwatt)
Attachment #8949706 - Flags: review?(jwatt) → review+
Attachment #8949713 - Flags: review?(jwatt) → review+

Comment 3

Last year
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/12b89457c623
When variation-font support is enabled, accept new CSS Fonts 4 format-hint strings for variation fonts. r=jwatt
https://hg.mozilla.org/integration/mozilla-inbound/rev/4697cdd9969f
Add reftests to check that we accept the *-variations format strings iff the variation-font pref is enabled. r=jwatt

Comment 4

Last year
bugherder
https://hg.mozilla.org/mozilla-central/rev/12b89457c623
https://hg.mozilla.org/mozilla-central/rev/4697cdd9969f
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.