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

Fix font rendering on IE11 #642

Merged
merged 1 commit into from
May 6, 2018
Merged

Fix font rendering on IE11 #642

merged 1 commit into from
May 6, 2018

Conversation

ahmadalfy
Copy link
Contributor

This is an issue on IE11, it cannot pick the correct system font because the font -apple-system makes the value invalid and hence making the whole declaration invalid.

A good solution is to split the shorthand version into separate properties/values and it will work.

Motivation

Part of fixing issues on IE11 #585

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

This is a UI issue, testing on IE11 and other browsers will be sufficient to prove it is working

This is an issue on IE11, it cannot pick the correct system font because the font `-apple-system` makes the value invalid and hence making the whole declaration invalid.

A good solution is to split the shorthand version into separate properties/values and it will work.
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label May 6, 2018
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 4817e7d

https://deploy-preview-642--docusaurus-preview.netlify.com

@ahmadalfy
Copy link
Contributor Author

Screenshot from the deployed version on netlify using IE11

image

@yangshun
Copy link
Contributor

yangshun commented May 6, 2018

Cool! I learnt something new today. Thanks for the fix!

@yangshun yangshun merged commit 17dd6d9 into facebook:master May 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants