Skip to content

Commit 52b802a

Browse files
author
litherum
committed
[css-fonts-4] font-variation-settings should clamp to the closest value supported
by the font. #517
1 parent d044c1e commit 52b802a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css-fonts-4/Overview.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,10 +1180,13 @@ at least as dark as its predecessor. Only values between 1 - 999 are valid, and
11801180
<a href="https://www.microsoft.com/typography/otspec/fvar.htm">name rules</a>
11811181
defined in the OpenType specification.
11821182

1183-
Axis values not present in the font, or axis values greater or less than the range supported by the font, are ignored and therefore have no effect; a user agent must
1183+
Axis values not present in the font are ignored and therefore have no effect; a user agent must
11841184
not attempt to synthesize fallback behavior based on these axis tags. Other axis values
11851185
within the same CSS 'font-variation-settings' statement are not ignored.
11861186

1187+
Axis values greater or less than the range supported by the font are clamped to the closest value supported by
1188+
the font.
1189+
11871190
Values are allowed to be fractional or negative.
11881191

11891192
If the same axis name appears twice, the second one supercedes the first.

0 commit comments

Comments
 (0)