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-family:generic(fangsong) will apply a Fangsong font in Chinese #25

Open
r12a opened this issue Feb 26, 2020 · 2 comments
Open

font-family:generic(fangsong) will apply a Fangsong font in Chinese #25

r12a opened this issue Feb 26, 2020 · 2 comments

Comments

@r12a
Copy link
Contributor

r12a commented Feb 26, 2020

Test link(s):

generic(fangsong)

Results:

  • Gecko: ❌ Applies a PingFang font, which is the default for zh-hans. Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0
  • Blink: ❌ Applies a PingFang font, which is the default for zh-hans. Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
  • Webkit: ❌Applies a Songti SC font, which is the default for zh-hans. Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15

Related tests:
Fonts

@r12a r12a changed the title Using the general font family 'fangsong' will apply a Fangsong font in Chinese. font-family:fangsong will apply a Fangsong font in Chinese Nov 10, 2021
@xfq
Copy link
Member

xfq commented Nov 24, 2023

We should update the test to use the new syntax: https://drafts.csswg.org/css-fonts-4/#generic(fangsong)-def

@r12a r12a changed the title font-family:fangsong will apply a Fangsong font in Chinese font-family:generic(fangsong) will apply a Fangsong font in Chinese Nov 27, 2023
@r12a
Copy link
Contributor Author

r12a commented Nov 27, 2023

Done.

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

No branches or pull requests

2 participants