-
Notifications
You must be signed in to change notification settings - Fork 524
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
Italic not showing on Safari #7203
Comments
I can reproduce this issue, fwiw. |
This doesn't seem to be a general issue in Safari, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em#result So it looks like an issue with the font (Inter) we're using. |
Hi, Here's a screenshot from Safari 17.2.1: ![]() |
@caugner --I'm happy to open a PR, but I'm not sure in which stylesheet it belongs :-) |
@ironnysh Sorry for taking so long to get back to you. I think the best place to add the CSS is around here: yari/client/src/ui/base/_reset.scss Lines 54 to 63 in 32a7a4b
|
Text marked with <em> element is not slanted. See issue: mdn#7203
@caugner, done now :-) |
* Fix: Inter italic bug in Safari Text marked with <em> element is not slanted. See issue: #7203 * fix(fonts): apply font-variation-settings to all italic elements * fix(fonts): unset font-variation-settings where font-style is unset * fix(fonts): set font-variation-settings: normal where font-style: normal * revert: do not set font-variation-settings for mathml polyfill --------- Co-authored-by: Claas Augner <[email protected]>
Summary
On Safari, italic font is exactly the same as the normal upright version.
URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management#weakmaps_and_weaksets
Reproduction steps
Read the sentence:
Expected behavior
Chrome/Firefox rendering:
Actual behavior
Safari rendering:
(Reproducible on iPad/iPhone as well)
Device
Laptop
Browser
Safari
Browser version
Stable
Operating system
Mac OS
Screenshot
No response
Anything else?
No response
Validations
The text was updated successfully, but these errors were encountered: