[css-conditional-5] Implement @supports font-format(...) and font-tech(...) functions
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
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 | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•9 months ago
|
||
Depends on D155359
Updated•9 months ago
|
Updated•9 months ago
|
Assignee | ||
Comment 3•9 months ago
|
||
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
Comment 6•9 months ago
|
||
Backed out 2 changesets (Bug 1786493) for causing build bustages.
Backout link
Push with failures <--> B
Failure Log
Upstream PR was closed without merging
Assignee | ||
Updated•9 months ago
|
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
Comment 10•9 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e4263013dcab
https://hg.mozilla.org/mozilla-central/rev/3f2bea86f502
Comment 11•8 months ago
|
||
Documentation additions for this can be tracked in the following GitHub issue: https://github.com/mdn/content/issues/20917
Updated•7 months ago
|
Description
•