Skip to content

Commit e620822

Browse files
committed
[css-fonts-4] font-stretch should serialize to a number/percentage, not a keyword
Fixes #6171
1 parent 63f635f commit e620822

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

css-fonts-4/Overview.bs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -712,11 +712,7 @@ Font width: the 'font-stretch!!property' property</h3>
712712

713713
User Agents must not synthesize stretched faces for font families which lack actual stretched faces.
714714

715-
For compatibility with [[CSS-FONTS-3]],
716-
{{getComputedStyle()}} serializes values
717-
that correspond to one of the 'font-stretch!!property' keywords
718-
as that keyword
719-
(instead of as a <<percentage>>).
715+
{{getComputedStyle()}} always serializes its value as a <<percentage>>, regardless of how the value was specified by the author, or whether or not a keyword happens to map to the value.
720716

721717
<h3 id="font-style-prop">
722718
Font style: the 'font-style!!property' property</h3>

0 commit comments

Comments
 (0)