Skip to content

UPDATE: font-stretch restored#509

Open
LeventDag wants to merge 2 commits into
w3c:mainfrom
Handig-Eekhoorn:css3_restore_font_stretch
Open

UPDATE: font-stretch restored#509
LeventDag wants to merge 2 commits into
w3c:mainfrom
Handig-Eekhoorn:css3_restore_font_stretch

Conversation

@LeventDag

Copy link
Copy Markdown

font-width is still a draft and shouldn't replace font-stretch

@ylafon

ylafon commented Jun 23, 2026

Copy link
Copy Markdown
Member

From https://www.w3.org/TR/2026/WD-css-fonts-4-20260422/#font-stretch-desc it clearly states that font-stretch should be considered as an alias.

@LeventDag

Copy link
Copy Markdown
Author

@ylafon you're right however firstly that proposal is still a draft and secondly this would replace all font-stretches with font-width and as of now, no browser other than safari supports font-width.

@ylafon

ylafon commented Jun 24, 2026

Copy link
Copy Markdown
Member

So you mean it's to keep the original property name in the output of the validator, right?

@LeventDag

Copy link
Copy Markdown
Author

yes exactly, this keeps both working fine like before but it doesn't replace font-stretch with font-width since its not really supported yet.

@LeventDag

Copy link
Copy Markdown
Author

@ylafon can i help get this pull request along? do you need anything or will this not be accepted?

@ylafon

ylafon commented Jul 2, 2026

Copy link
Copy Markdown
Member

I would like to do it in another way but need some time to work on it, keeping this here so that I know the use case.

@LeventDag

Copy link
Copy Markdown
Author

If you want it a different way via abstraction or something on your mind I can try to do differently I'm happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants