[Webkit-unassigned] [Bug 280356] New: font-weight 600 and above not matching with Firefox Nightly and Chrome Canary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 25 15:04:27 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280356

            Bug ID: 280356
           Summary: font-weight 600 and above not matching with Firefox
                    Nightly and Chrome Canary
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: fantasai.bugs at inkedblade.net, vitor.roriz at apple.com,
                    webkit-bug-importer at group.apple.com

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!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240925/cbae6742/attachment.htm>


More information about the webkit-unassigned mailing list