Skip to content

Commit 99275ce

Browse files
author
Litherum
committed
[css-fonts] font-min-size should win over font-max-size in case of conflict
#1723
1 parent a6ef2d9 commit 99275ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-fonts-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ and 'font-max-size', the use value of 'font-size' is clamped to the values speci
774774
Some user agents provide a nonstandard mapping between the computed value of 'font-size' and the used value of 'font-size'.
775775
The interaction of those nonstandard algorithms with 'font-min-size' or 'font-max-size' is explicitly undefined.
776776

777-
If the 'font-min-size' property is computed to be larger than the 'font-max-size' property, then the two properties are ignored.
777+
If the 'font-min-size' property is computed to be larger than the 'font-max-size' property, then the 'font-max-size' property is not used for the purposes of text rendering or rasterization. However, the computed value of 'font-max-size' is not affected.
778778

779779
Users with accessibility preferences can set this in a user-agent style sheet to force websites' text to become larger.
780780

0 commit comments

Comments
 (0)