Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font-style: oblique <ang> example doesn't work #33439

Open
dev-nicolaos opened this issue May 6, 2024 · 0 comments
Open

font-style: oblique <ang> example doesn't work #33439

dev-nicolaos opened this issue May 6, 2024 · 0 comments
Labels
Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@dev-nicolaos
Copy link
Contributor

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_fonts/Variable_fonts_guide

What specific section or headline is this issue about?

Slant

What information was incorrect, unhelpful, or incomplete?

The live example shows multiple ways to set the slant of the text, one using font-style: oblique <ang> and another using font-variation-settings: "slnt" <ang>. The one using font-style does not change the appearance of the rendered text.

Tested in Firefox 125 and Chromium 124 on both Windows 10 and Fedora 40.

What did you expect to see?

Setting the first example to use font-style: oblique 12deg would visibly change the appearance of the example text the same way setting font-variation-settings: "slnt" 12 does in the next example.

Do you have any supporting links, references, or citations?

This usage of font-style should be supported across all modern browsers: https://caniuse.com/mdn-css_properties_font-style_oblique-angle

Do you have anything more you want to share?

image

MDN metadata

Page report details
@dev-nicolaos dev-nicolaos added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 6, 2024
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant