Bug 231227

Summary: Unable to set certain font size on certain zoom Level
Product: WebKit Reporter: Danish <danish5095>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: danish5095, mmaxfield, smoley, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: All   
OS: All   
Attachments:
Description Flags
Screencast Font Issue, at different zoom levels.
none
ScreenRecording of the Issue. none

Description Danish 2021-10-05 04:26:39 PDT
Created attachment 440197 [details]
Screencast Font Issue, at different zoom levels.

Demo URL - https://strengthened-shadow-foam.glitch.me/

At certain zoom levels, the font size is not applied correctly.

Example - 
Zoom Level: -1, 8-10px font size is applied as 10px
Zoom Level: -2, 8-12px font size is applied as 12px
Zoom Level: -3, 8-18px font size is applied as 18px
Comment 1 Radar WebKit Bug Importer 2021-10-12 04:27:16 PDT
<rdar://problem/84141939>
Comment 2 Smoley 2021-10-21 16:38:47 PDT
I tried this at various zoom levels but the computed and actual font size always matched on Safari Technology Preview 133.
Comment 3 Danish 2021-10-22 00:58:38 PDT
Created attachment 442132 [details]
ScreenRecording of the Issue.
Comment 4 Danish 2021-10-22 00:59:59 PDT
Hi Again

We tested on Safari Technology Preview 133 too. and it's happening for us too.

It happens when we zoom out. (negative zoom).

Attached is a Screen Recording too.