From 21dbcdbd3eee0ed3da76368e80bb5409edccb45a Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Fri, 16 Sep 2022 13:57:18 +1000 Subject: [PATCH 1/4] @font-face src tech() function - add to experimental features --- .../firefox/experimental_features/index.md | 41 +++++++++++++++++++ files/en-us/web/css/@font-face/index.md | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index 793c2228e2277d3..2bea2a70459ed60 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -637,6 +637,47 @@ See {{bug(1774589)}} for more details. +### @font-face src feature checking checking + +The `@font-face` [`src` descriptor](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src) now supports the `tech()` function, allowing fallback of whether a font resource is downloaded based on whether the user-agent supports a particular font feature or technology. +See {{bug(1715546)}} for more details. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Release channelVersion addedEnabled by default?
Nightly105Yes
Developer Edition105No
Beta105No
Release105No
Preference namelayout.css.font-tech.enabled
+ ## SVG ### SVGPathSeg APIs diff --git a/files/en-us/web/css/@font-face/index.md b/files/en-us/web/css/@font-face/index.md index 370700b2795e22e..1ee3d0166a4bf4d 100644 --- a/files/en-us/web/css/@font-face/index.md +++ b/files/en-us/web/css/@font-face/index.md @@ -106,7 +106,7 @@ The `@font-face` at-rule may be used not only at the top level of a CSS, but als ## Formal syntax -``` +```css-nolint @font-face { } From ea4ed8e30543db4bdb99d888025c5b15aae49dde Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Fri, 16 Sep 2022 14:00:53 +1000 Subject: [PATCH 2/4] Update files/en-us/web/css/@font-face/index.md --- files/en-us/web/css/@font-face/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/files/en-us/web/css/@font-face/index.md b/files/en-us/web/css/@font-face/index.md index 1ee3d0166a4bf4d..54eb6f7221a2313 100644 --- a/files/en-us/web/css/@font-face/index.md +++ b/files/en-us/web/css/@font-face/index.md @@ -106,7 +106,6 @@ The `@font-face` at-rule may be used not only at the top level of a CSS, but als ## Formal syntax -```css-nolint @font-face { } From adf5d4bea0ba160a8ae2fd0ca9da92a554c882bb Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Fri, 16 Sep 2022 14:01:26 +1000 Subject: [PATCH 3/4] Update index.md --- files/en-us/web/css/@font-face/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/files/en-us/web/css/@font-face/index.md b/files/en-us/web/css/@font-face/index.md index 54eb6f7221a2313..370700b2795e22e 100644 --- a/files/en-us/web/css/@font-face/index.md +++ b/files/en-us/web/css/@font-face/index.md @@ -106,6 +106,7 @@ The `@font-face` at-rule may be used not only at the top level of a CSS, but als ## Formal syntax +``` @font-face { } From 8b1ecec0515fbd84fcd699a1aab5a7bed8064a70 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Mon, 19 Sep 2022 16:29:25 +0200 Subject: [PATCH 4/4] Update files/en-us/mozilla/firefox/experimental_features/index.md Co-authored-by: Estelle Weyl --- files/en-us/mozilla/firefox/experimental_features/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index 2bea2a70459ed60..3be5d42445391fa 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -639,7 +639,7 @@ See {{bug(1774589)}} for more details. ### @font-face src feature checking checking -The `@font-face` [`src` descriptor](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src) now supports the `tech()` function, allowing fallback of whether a font resource is downloaded based on whether the user-agent supports a particular font feature or technology. +The `@font-face` [`src` descriptor](/en-US/docs/Web/CSS/@font-face/src) now supports the `tech()` function, allowing fallback of whether a font resource is downloaded based on whether the user-agent supports a particular font feature or technology. See {{bug(1715546)}} for more details.