-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/font-stretch
What specific section or headline is this issue about?
Deprecation notice
What information was incorrect, unhelpful, or incomplete?
The deprecation notice should include a hint that the preferred CSS 4 property name would be font-width.
In fact this is simply a new (re)naming convention.
It doesn't really change anything how browsers map available width variants.
The font-stretch property name was indeed quite misleading as it implied some sort of glyph scaling (analogous to SVG lengthAdjust) which it never did.
However, it is very unlikely Browsers will remove font-stretch in the next 10 years. Especially with regards to slower adoptions by non-browser applications (similar to xlink:href)
What did you expect to see?
Please consider to add:
- a new entry for the recommended
font-widthproperty - a link to the non-SVG specific article
or copy the notice from the aforementioned CSS article for the SVG
Note: The font-stretch property was renamed to font-width in the CSS Fonts specification. To preserve compatibility, the specification retains font-stretch as an alias for the font-width property.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/svg/reference/attribute/font-stretch - MDN URL: https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/font-stretch
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/svg/reference/attribute/font-stretch/index.md
- Last commit: 3c83d88
- Document last modified: 2025-04-16T15:02:49.000Z
Metadata
Metadata
Assignees
Labels
Type
Projects
Status