Bug 261283 - oblique angle treated as binary switch
Summary: oblique angle treated as binary switch
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-09-07 11:12 PDT by Nick Sherman
Modified: 2023-09-20 00:25 PDT (History)
3 users (show)

See Also:


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 Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Sherman 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.
Comment 1 Radar WebKit Bug Importer 2023-09-14 11:13:14 PDT
<rdar://problem/115505072>