Re: [csswg-drafts] [css-fonts] Specifying a direction without a specific angle (#9392)

I guess I also wanted to make it clearer up-front. But yes, once you drill down into the details, we have (for greater than or equal to 0deg and less than 11deg)

> 3. Otherwise, oblique values above the desired oblique value are checked in ascending order followed by oblique values below the desired oblique value, until 0 is hit. Only positive values of oblique values are checked in this stage

and then (for greater than or equal to 0deg and less than 11deg,)

> 3. Otherwise, oblique values below the desired oblique value are checked in descending order until 0 is hit, followed by oblique values above the desired oblique value. Only positive values of oblique values are checked in this stage.

and then

> less than 0deg and greater than -11deg, follow the steps [above](https://drafts.csswg.org/css-fonts-4/#lesser-oblique-steps), except with the negated values and opposite directions. If the value of font-style is oblique and the requested angle is less than or equal to -11deg, follow the steps [above](https://drafts.csswg.org/css-fonts-4/#greater-oblique-steps), except with the negated values and opposite directions.

So yes, I agree with @litherum that the spec covers this case, with a bit of discovery effort. I would like it to be clearer up-front.

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


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

Received on Friday, 22 September 2023 18:00:30 UTC