WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
280356
font-weight 600 and above not matching with Firefox Nightly and Chrome Canary
https://bugs.webkit.org/show_bug.cgi?id=280356
Summary
font-weight 600 and above not matching with Firefox Nightly and Chrome Canary
Ahmad Saleem
Reported
2024-09-25 15:04:27 PDT
Hi Team, While looking into `WebKit` tag / keyword on Twitter, I stumbled upon following post: Link:
https://x.com/myfonj/status/1838866473512534332
Test Case Link:
https://myfonj.github.io/sandbox.html#%3C!doctype%20html%3E%3Chtml%20lang%3D%22en%22%20style%3D%22color-scheme%3A%20dark%20light%3B%22%3E%0A%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1%22%3E%0A%3Ctitle%3E%0AFont-weight%20fallback%20tests%0A%3C%2Ftitle%3E%0A%3Cstyle%3E%0A%2F*%20Intentionally%20using%20bolder%20faces%20for%20lighter%20weights%20*%2F%0A%40font-face%20%7B%20font-family%3A%20t%3B%20font-weight%3A%20111%3B%20src%3A%20local(Arial%20Black)%3B%20%7D%0A%40font-face%20%7B%20font-family%3A%20t%3B%20font-weight%3A%20222%3B%20src%3A%20local(Comic%20Sans%20MS)%3B%20%7D%0A%40font-face%20%7B%20font-family%3A%20t%3B%20font-weight%3A%20666%3B%20src%3A%20local(Impact)%3B%20%7D%0A%40font-face%20%7B%20font-family%3A%20t%3B%20font-weight%3A%201000%3B%20src%3A%20local(Calibri%20Light)%3B%20%7D%0Ap%3A%3Aafter%20%7B%20font-family%3A%20t%3B%20content%3A%20attr(style)%3B%20%7D%0A%3C%2Fstyle%3E%0A%3Cbody%3E%0A%3Cscript%3E%0Adocument.write(navigator.userAgent)%0A%3C%2Fscript%3E%0A%3Cp%20style%3D%22font-weight%3A%20100%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20200%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20300%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20400%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20500%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20600%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20700%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20800%22%3E%0A%3Cp%20style%3D%22font-weight%3A%20900%22%3E%0A%3Cp%20style%3D%22font-weight%3A%201000%22%3E%0A
Notice - in Safari / WebKit (18.1 Beta), you will notice that font-weight 700 onward is rendering more bolder compared to Chrome Canary 131 and Firefox Nightly 132. Just raising so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-09-25 15:04:57 PDT
<
rdar://problem/136709458
>
Ahmad Saleem
Comment 2
2024-12-19 17:58:13 PST
Just to flag, it is not fixed post
288130@main
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug