NO BUG: Font Style >> Oblique shows as "Italic" for the "ghost" cascading value

Browser: Chrome
OS: Windows
URL: NA

  1. Add a heading in some container.
  2. Go to Styles >> Typography >> Font Style and choose “Oblique” for base breakpoint
  3. View the Font Style in the next lower breakpoint or lower

Results: The ghost value shows Italic
Expected: The ghost value should show Oblique

Hi,
Thanks so much for your report!

We have no control over how the user agent/browser handles oblique. If you look at the computed styles, you will see that the browser (chrome) returns italic (even outside of Bricks).

For the purposes of font matching, User agents may treat italic as a synonym for oblique. For user agents that treat these values distinctly, synthesis must not be performed for italic.

Source: CSS Fonts Module Level 4

Best regards,
timmse

1 Like