Bug 261283

Summary: oblique angle treated as binary switch
Product: WebKit Reporter: Nick Sherman <nick>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   
Attachments:
Description Flags
Oblique angle test shown in Safari 16.6 on the left and Firefox 117.0 on the right none

Nick Sherman
Reported 2023-09-07 11:12:32 PDT
Created attachment 467589 [details] Oblique angle test shown in Safari 16.6 on the left and Firefox 117.0 on the right Using the `oblique` value with a specific angle for the `font-style` property does not work as expected when the font style is synthesized. Instead of slanting the font according to the specified angle, the value behaves more like a binary toggle: For anything under 14 degrees, no slanting is applied. For anything over 14 degress, the default of 14 degrees is applied (even if the specified angle is much higher). Here is a test page on CodePen: https://codepen.io/NickSherman/pen/oNJBeRv See comparison of Safari 16.6 vs Firefox 117.0 attached.
Attachments
Oblique angle test shown in Safari 16.6 on the left and Firefox 117.0 on the right (114.61 KB, image/png)
2023-09-07 11:12 PDT, Nick Sherman
no flags
Radar WebKit Bug Importer
Comment 1 2023-09-14 11:13:14 PDT
Note You need to log in before you can comment on or make changes to this bug.