Skip to content

Commit a9ec800

Browse files
author
litherum
committed
[css-fonts-4] font-weight matching rules for weight=500 are not compatible with level 3
#1061
1 parent 276da0e commit a9ec800

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,15 +1323,14 @@ at least as dark as its predecessor. Only values between 1 - 999 are valid, and
13231323
property. If the matching set after performing the steps above includes faces with weight values containing the font-weight desired value, faces with weight values which do not include the desired font-weight value are removed from the matching set. If there is no face which contains the desired value, a weight value is chosen using the rules below:
13241324
<ul>
13251325
<li>If the desired weight is 400, 400 is checked first, 500 is checked second and then
1326-
the rule for desired weights less than 450 is used.</li>
1326+
the rule for desired weights less than or equal to 500 is used.</li>
13271327
<li>If the desired weight is 500, 500 is checked first, 400 is checked second and then
1328-
the rule for desired weights less than 450 is used.</li>
1329-
<li>If the desired weight is less than 450, weights below the
1328+
the rule for desired weights less than or equal to 500 is used.</li>
1329+
<li>If the desired weight is less than or equal to 500, weights below the
13301330
desired weight are checked in descending order followed by
13311331
weights above the desired weight in ascending order until a
13321332
match is found.</li>
1333-
<li>If the desired weight is greater than or equal to 450 and not
1334-
equal to 500, weights above the
1333+
<li>If the desired weight is greater than 500, weights above the
13351334
desired weight are checked in ascending order followed by
13361335
weights below the desired weight in descending order until a
13371336
match is found.</li>

0 commit comments

Comments
 (0)