Re: [csswg-drafts] [css-fonts-4] 90-degree oblique means? (#10084)

CSS Values 4 [only supports closed ranges](https://drafts.csswg.org/css-values-4/#numeric-ranges) and thus we have to write tah values in the range 90deg to -90deg inclusive are allowed.

The OpenType spec gives [the same range, but exclusive](https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_slnt):

> _Valid numeric range:_ Values must be greater than -90 and less than +90.

You are correct that implementations may struggle with, say, a perfectly legal  89.999deg slope angle and the end result is unlikely to by typographically satisfying.

But just because a thing is possible does not mean it should be done; I don't see us declaring that slope angles greater than 60 degrees are silly in the same way that we don't prevent setting the width of `<body>` to 2px.

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


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

Received on Thursday, 14 March 2024 19:06:03 UTC