Closed Bug 1786493 Opened 2 years ago Closed 2 years ago

[css-conditional-5] Implement @supports font-format(...) and font-tech(...) functions

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

See https://drafts.csswg.org/css-conditional-5/#at-supports-ext.

Having just updated @font-face src: format() in bug 1784058 and bug 650372 to follow the current spec, and added the tech() function (bug 1715546), it would be good to also implement the @supports version of these capability tests.

I have a draft patch that implements this, but have also raised a few minor questions in https://github.com/w3c/csswg-drafts/issues/7633 that I think should be clarified before we actually ship it.

Assignee: nobody → jfkthame
Attachment #9291096 - Attachment description: WIP: Bug 1786493 - Implement CSS @supports font-format(...) and font-tech(...) functions. → Bug 1786493 - Implement CSS @supports font-format(...) and font-tech(...) functions. r=#firefox-style-system-reviewers
Status: NEW → ASSIGNED
Attachment #9291097 - Attachment description: WIP: Bug 1786493 - Add WPT tests for @supports font-format() and font-tech() functions. → Bug 1786493 - Add WPT tests for @supports font-format() and font-tech() functions. r=#firefox-style-system-reviewers

With the @font-face tech() function now behind a nightly-only pref, I suggest we add these functions behind that same pref (as they're so closely related), and then enable them all together once the spec questions are clarified.

Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b1b0464f9bed
Implement CSS @supports font-format(...) and font-tech(...) functions. r=emilio
https://hg.mozilla.org/integration/autoland/rev/077219c44704
Add WPT tests for @supports font-format() and font-tech() functions. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/35613 for changes under testing/web-platform/tests

Backed out 2 changesets (Bug 1786493) for causing build bustages.
Backout link
Push with failures <--> B
Failure Log

Flags: needinfo?(jfkthame)
Upstream PR was closed without merging
Flags: needinfo?(jfkthame)
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e4263013dcab
Implement CSS @supports font-format(...) and font-tech(...) functions. r=emilio
https://hg.mozilla.org/integration/autoland/rev/3f2bea86f502
Add WPT tests for @supports font-format() and font-tech() functions. r=emilio
Upstream PR merged by moz-wptsync-bot
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Keywords: dev-doc-needed

Documentation additions for this can be tracked in the following GitHub issue: https://github.com/mdn/content/issues/20917

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: