From 9675fba8619da454068ab898cf68fbf7a65ee416 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 16 Aug 2023 15:38:15 -0700 Subject: [PATCH 1/5] updated font-tech in @supports --- files/en-us/web/css/@supports/index.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/files/en-us/web/css/@supports/index.md b/files/en-us/web/css/@supports/index.md index 972e8ddecab3e55..73c43bed28e644e 100644 --- a/files/en-us/web/css/@supports/index.md +++ b/files/en-us/web/css/@supports/index.md @@ -74,19 +74,24 @@ The following example returns true and applies the CSS style if the browser supp } ``` -The table below describes the available font technologies that can be queried using this function: +The table below describes the font technologies (``), including color font technologies (``), font feature technologies (``) and other available font technologies that can be queried using this function: | Technology | Supports | | :------------------ | :-------------------------------------------------------------------------------------------- | +| **``** | | `color-colrv0` | Multi-colored glyphs via COLR version 0 table | | `color-colrv1` | Multi-colored glyphs via COLR version 1 table | | `color-svg` | SVG multi-colored tables | | `color-sbix` | Standard bitmap graphics tables | | `color-cbdt` | Color bitmap data tables | +| **``** | | `features-opentype` | OpenType `GSUB` and `GPOS` tables | | `features-aat` | TrueType `morx` and `kerx` tables | | `features-graphite` | Graphite features, namely `Silf`, `Glat` , `Gloc` , `Feat`, and `Sill` tables | -| `incremental` | Incremental font loading | +| **Other values** | +| `incremental-patch` | Incremental font loading using the patch subset method | +| `incremental-range` | Incremental font loading using the range request method | +| `incremental-auto` | Incremental font loading using method negotiation | | `variations` | Font variations in TrueType and OpenType fonts to control the font axis, weight, glyphs, etc. | | `palettes` | Font palettes by means of `font-palette` to select one of many color palettes in the font | @@ -100,7 +105,7 @@ The following example returns true and applies the CSS style if the browser supp } ``` -The following table describes the available formats that can be queried with this function: +The following table describes the available formats (`` values) that can be queried with this function: | Format | Description | File extensions | | :------------------ | :------------------------------ | :-------------- | From f7b938c774c6a1c4d0bdf2dbfaba76958a966541 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 16 Aug 2023 15:41:37 -0700 Subject: [PATCH 2/5] Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- files/en-us/web/css/@supports/index.md | 36 +++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/files/en-us/web/css/@supports/index.md b/files/en-us/web/css/@supports/index.md index 73c43bed28e644e..1b92e39381c0371 100644 --- a/files/en-us/web/css/@supports/index.md +++ b/files/en-us/web/css/@supports/index.md @@ -76,24 +76,24 @@ The following example returns true and applies the CSS style if the browser supp The table below describes the font technologies (``), including color font technologies (``), font feature technologies (``) and other available font technologies that can be queried using this function: -| Technology | Supports | -| :------------------ | :-------------------------------------------------------------------------------------------- | -| **``** | -| `color-colrv0` | Multi-colored glyphs via COLR version 0 table | -| `color-colrv1` | Multi-colored glyphs via COLR version 1 table | -| `color-svg` | SVG multi-colored tables | -| `color-sbix` | Standard bitmap graphics tables | -| `color-cbdt` | Color bitmap data tables | -| **``** | -| `features-opentype` | OpenType `GSUB` and `GPOS` tables | -| `features-aat` | TrueType `morx` and `kerx` tables | -| `features-graphite` | Graphite features, namely `Silf`, `Glat` , `Gloc` , `Feat`, and `Sill` tables | -| **Other values** | -| `incremental-patch` | Incremental font loading using the patch subset method | -| `incremental-range` | Incremental font loading using the range request method | -| `incremental-auto` | Incremental font loading using method negotiation | -| `variations` | Font variations in TrueType and OpenType fonts to control the font axis, weight, glyphs, etc. | -| `palettes` | Font palettes by means of `font-palette` to select one of many color palettes in the font | +| Technology | Supports | +| :--------------------------- | :-------------------------------------------------------------------------------------------- | +| **``** | +| `color-colrv0` | Multi-colored glyphs via COLR version 0 table | +| `color-colrv1` | Multi-colored glyphs via COLR version 1 table | +| `color-svg` | SVG multi-colored tables | +| `color-sbix` | Standard bitmap graphics tables | +| `color-cbdt` | Color bitmap data tables | +| **``** | +| `features-opentype` | OpenType `GSUB` and `GPOS` tables | +| `features-aat` | TrueType `morx` and `kerx` tables | +| `features-graphite` | Graphite features, namely `Silf`, `Glat` , `Gloc` , `Feat`, and `Sill` tables | +| **Other `` values** | +| `incremental-patch` | Incremental font loading using the patch subset method | +| `incremental-range` | Incremental font loading using the range request method | +| `incremental-auto` | Incremental font loading using method negotiation | +| `variations` | Font variations in TrueType and OpenType fonts to control the font axis, weight, glyphs, etc. | +| `palettes` | Font palettes by means of `font-palette` to select one of many color palettes in the font | #### `font-format()` From 825986bc4cf16f837ea82985ed21a179bb1df327 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 16 Aug 2023 15:50:55 -0700 Subject: [PATCH 3/5] font-variant-ligatures (#28598) --- files/en-us/web/css/font-variant-ligatures/index.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/files/en-us/web/css/font-variant-ligatures/index.md b/files/en-us/web/css/font-variant-ligatures/index.md index a5e0703e4bbf48a..fdd9dcc21a8a42c 100644 --- a/files/en-us/web/css/font-variant-ligatures/index.md +++ b/files/en-us/web/css/font-variant-ligatures/index.md @@ -42,28 +42,28 @@ The `font-variant-ligatures` property is specified as one of the keyword values - : This keyword leads to the activation of the usual ligatures and contextual forms needed for correct rendering. The ligatures and forms activated depend on the font, language and kind of script. This is the default value. - `none` - : This keyword specifies that all ligatures and contextual forms are disabled, even common ones. -- _\_ +- _``_ - : These values control the most common ligatures, like for `fi`, `ffi`, `th` or similar. They correspond to the OpenType values `liga` and `clig`. Two values are possible: - `common-ligatures` activating these ligatures. Note that the keyword `normal` activates these ligatures. - `no-common-ligatures` deactivating these ligatures. -- _\_ +- _``_ - : These values control specific ligatures, specific to the font and defined by the type designer. They correspond to the OpenType values `dlig`. Two values are possible: - `discretionary-ligatures` activating these ligatures. - `no-discretionary-ligatures` deactivating the ligatures. Note that the keyword `normal` usually deactivates these ligatures. -- _\_ +- _``_ - : These values control the ligatures used historically, in old books, like the German tz digraph being displayed as ꜩ. They correspond to the OpenType values `hlig`. Two values are possible: - `historical-ligatures` activating these ligatures. - `no-historical-ligatures` deactivating the ligatures. Note that the keyword `normal` usually deactivates these ligatures. -- _\_ +- _``_ - : These values control whether letters adapt to their context—that is, whether they adapt to the surrounding letters. These values correspond to the OpenType values `calt`. Two values are possible: @@ -195,3 +195,4 @@ p { - [`font-variant-east-asian`](/en-US/docs/Web/CSS/font-variant-east-asian) - [`font-variant-numeric`](/en-US/docs/Web/CSS/font-variant-numeric) - [`font-variant-position`](/en-US/docs/Web/CSS/font-variant-position) +- [CSS fonts module](/en-US/docs/Web/CSS/CSS_fonts) From b8572731d2d162807839a89aca670dad55d565d9 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 16 Aug 2023 15:53:22 -0700 Subject: [PATCH 4/5] Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- files/en-us/web/css/@supports/index.md | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/files/en-us/web/css/@supports/index.md b/files/en-us/web/css/@supports/index.md index 1b92e39381c0371..f418c4cd2b37605 100644 --- a/files/en-us/web/css/@supports/index.md +++ b/files/en-us/web/css/@supports/index.md @@ -76,24 +76,24 @@ The following example returns true and applies the CSS style if the browser supp The table below describes the font technologies (``), including color font technologies (``), font feature technologies (``) and other available font technologies that can be queried using this function: -| Technology | Supports | -| :--------------------------- | :-------------------------------------------------------------------------------------------- | -| **``** | -| `color-colrv0` | Multi-colored glyphs via COLR version 0 table | -| `color-colrv1` | Multi-colored glyphs via COLR version 1 table | -| `color-svg` | SVG multi-colored tables | -| `color-sbix` | Standard bitmap graphics tables | -| `color-cbdt` | Color bitmap data tables | -| **``** | -| `features-opentype` | OpenType `GSUB` and `GPOS` tables | -| `features-aat` | TrueType `morx` and `kerx` tables | -| `features-graphite` | Graphite features, namely `Silf`, `Glat` , `Gloc` , `Feat`, and `Sill` tables | +| Technology | Supports | +| :----------------------------- | :-------------------------------------------------------------------------------------------- | +| **``** | +| `color-colrv0` | Multi-colored glyphs via COLR version 0 table | +| `color-colrv1` | Multi-colored glyphs via COLR version 1 table | +| `color-svg` | SVG multi-colored tables | +| `color-sbix` | Standard bitmap graphics tables | +| `color-cbdt` | Color bitmap data tables | +| **``** | +| `features-opentype` | OpenType `GSUB` and `GPOS` tables | +| `features-aat` | TrueType `morx` and `kerx` tables | +| `features-graphite` | Graphite features, namely `Silf`, `Glat` , `Gloc` , `Feat`, and `Sill` tables | | **Other `` values** | -| `incremental-patch` | Incremental font loading using the patch subset method | -| `incremental-range` | Incremental font loading using the range request method | -| `incremental-auto` | Incremental font loading using method negotiation | -| `variations` | Font variations in TrueType and OpenType fonts to control the font axis, weight, glyphs, etc. | -| `palettes` | Font palettes by means of `font-palette` to select one of many color palettes in the font | +| `incremental-patch` | Incremental font loading using the patch subset method | +| `incremental-range` | Incremental font loading using the range request method | +| `incremental-auto` | Incremental font loading using method negotiation | +| `variations` | Font variations in TrueType and OpenType fonts to control the font axis, weight, glyphs, etc. | +| `palettes` | Font palettes by means of `font-palette` to select one of many color palettes in the font | #### `font-format()` From 934f22abb6323e739c0c61b8622b3a11719f4057 Mon Sep 17 00:00:00 2001 From: Dipika Bhattacharya Date: Thu, 17 Aug 2023 11:03:02 -0400 Subject: [PATCH 5/5] minor edits --- files/en-us/web/css/@supports/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/css/@supports/index.md b/files/en-us/web/css/@supports/index.md index f418c4cd2b37605..4e9f3d3a0eaddae 100644 --- a/files/en-us/web/css/@supports/index.md +++ b/files/en-us/web/css/@supports/index.md @@ -74,7 +74,7 @@ The following example returns true and applies the CSS style if the browser supp } ``` -The table below describes the font technologies (``), including color font technologies (``), font feature technologies (``) and other available font technologies that can be queried using this function: +The table below describes the font technologies (``), including color font technologies (``), font feature technologies (``), and other available font technologies that can be queried using the `font-tech()` function: | Technology | Supports | | :----------------------------- | :-------------------------------------------------------------------------------------------- |