Re: [csswg-drafts] [css-fonts] avoid fallback from oblique to italic (#9389)

> An additional consequence would be to delete the text
> 
> > For the purposes of font matching, User agents may treat [italic](https://drafts.csswg.org/css-fonts-4/#valdef-font-style-italic) as a synonym for [oblique](https://drafts.csswg.org/css2/#valdef-font-style-oblique).
> 
> from [the `font-style` property](https://drafts.csswg.org/css-fonts-4/#font-style-prop)

I haven't thought this through in detail, but "may treat italic as a synonym for oblique" would kinda still be true provided font-synthesis-style isn't disabled, wouldn't it? The interesting point - which might be worth calling out explicitly - is that the inverse is _not_ true: user agents **must not** treat oblique as a synonym for italic.

-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9389#issuecomment-2043693519 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 8 April 2024 21:45:17 UTC