diff --git a/files/en-us/web/css/reference/at-rules/@font-face/font-stretch/index.md b/files/en-us/web/css/reference/at-rules/@font-face/font-stretch/index.md index 175838fc6ecb266..ba75b003a871302 100644 --- a/files/en-us/web/css/reference/at-rules/@font-face/font-stretch/index.md +++ b/files/en-us/web/css/reference/at-rules/@font-face/font-stretch/index.md @@ -10,6 +10,9 @@ sidebar: cssref {{deprecated_header}} +> [!NOTE] +> The `font-stretch` descriptor was renamed to `font-width` in the [CSS Fonts specification](https://drafts.csswg.org/css-fonts/#font-stretch-desc). To preserve compatibility, the specification retains `font-stretch` as an alias for the `font-width` descriptor. + The **`font-stretch`** [CSS](/en-US/docs/Web/CSS) descriptor allows authors to specify a normal, condensed, or expanded face for the fonts specified in the {{cssxref("@font-face")}} at-rule. For a particular font family, authors can download various font faces which correspond to the different styles of the same font family, and then use the `font-stretch` descriptor to explicitly specify the font face's stretch. The values for the CSS descriptor is same as that of its corresponding font property. diff --git a/files/en-us/web/css/reference/properties/font-stretch/index.md b/files/en-us/web/css/reference/properties/font-stretch/index.md index e14c3c94c0e92f3..3ebd7eb964f300f 100644 --- a/files/en-us/web/css/reference/properties/font-stretch/index.md +++ b/files/en-us/web/css/reference/properties/font-stretch/index.md @@ -11,8 +11,7 @@ sidebar: cssref {{deprecated_header}} > [!NOTE] -> The `font-stretch` property [has now been renamed to `font-width`](https://drafts.csswg.org/css-fonts/#font-stretch-desc) in the specifications. The name `font-stretch` has been kept as an alias for the `font-width` property. -> The new name `font-width` is not yet supported by any browsers. +> The `font-stretch` property was renamed to `font-width` in the [CSS Fonts specification](https://drafts.csswg.org/css-fonts/#font-stretch-prop). To preserve compatibility, the specification retains `font-stretch` as an alias for the `font-width` property. The **`font-stretch`** [CSS](/en-US/docs/Web/CSS) property selects a normal, condensed, or expanded face from a font. diff --git a/package-lock.json b/package-lock.json index f5967b030448c70..2102eb95becf3b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "markdownlint-rule-search-replace": "1.2.0", "node-html-parser": "^7.0.2", "parse-diff": "^0.11.1", - "prettier": "3.7.4", + "prettier": "3.8.0", "tempy": "^3.1.0", "yaml": "^2.8.2", "yargs": "^18.0.0" @@ -8119,9 +8119,9 @@ } }, "node_modules/prettier": { - "version": "3.7.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz", - "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.0.tgz", + "integrity": "sha512-yEPsovQfpxYfgWNhCfECjG5AQaO+K3dp6XERmOepyPDVqcJm+bjyCVO3pmU+nAPe0N5dDvekfGezt/EIiRe1TA==", "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" diff --git a/package.json b/package.json index fb41392e6882d58..75354a65fc15de9 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "markdownlint-rule-search-replace": "1.2.0", "node-html-parser": "^7.0.2", "parse-diff": "^0.11.1", - "prettier": "3.7.4", + "prettier": "3.8.0", "tempy": "^3.1.0", "yaml": "^2.8.2", "yargs": "^18.0.0"