caniuse icon indicating copy to clipboard operation
caniuse copied to clipboard

Add tech() function support (in @font-face src)

Open Schweinepriester opened this issue 2 years ago • 0 comments

  • Spec: https://www.w3.org/TR/css-fonts-4/#font-tech-definitions
  • Chrome:
    • Intend to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/_9k-Ne8FRu4/m/Y5t_T50pAgAJ
    • https://chromestatus.com/feature/5088679224147968
    • Shipping in Chrome 107
  • Firefox:
    • https://github.com/mozilla/standards-positions/issues/563
    • https://bugzilla.mozilla.org/show_bug.cgi?id=1715546
    • Seemingly shipping in Firefox 105

Example from the spec:

@font-face {
    font-family: "Trickster";
    src: url("trickster-COLRv1.otf") format(opentype) tech(color-COLRv1), /* ← here */
         url("trickster-outline.otf") format(opentype);
}

Schweinepriester avatar Aug 29 '22 22:08 Schweinepriester