You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -134,6 +136,7 @@ The <code>FontFace</code> Interface</h2>
134
136
: <dfn>family</dfn>
135
137
: <dfn>style</dfn>
136
138
: <dfn>weight</dfn>
139
+
: <dfn>width</dfn>
137
140
: <dfn>stretch</dfn>
138
141
: <dfn>unicodeRange</dfn>
139
142
::
@@ -154,6 +157,7 @@ The <code>FontFace</code> Interface</h2>
154
157
throw a {{SyntaxError}};
155
158
otherwise, set the attribute to the serialization of the parsed value.
156
159
160
+
Note that ''stretch'' is a legacy name alias of ''width'' and therefore they set the same attribute.
157
161
: <dfn>featureSettings</dfn>
158
162
: <dfn>variationSettings</dfn>
159
163
: <dfn>display</dfn>
@@ -416,7 +420,7 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
416
420
This {{FontFace}} object is <dfn>CSS-connected</dfn>.
417
421
418
422
The {{FontFace}} object corresponding to a ''@font-face'' rule
419
-
has its {{FontFace/family}}, {{FontFace/style}}, {{FontFace/weight}}, {{FontFace/stretch}}, {{FontFace/unicodeRange}}, {{FontFace/variant}}, and {{FontFace/featureSettings}} attributes
423
+
has its {{FontFace/family}}, {{FontFace/style}}, {{FontFace/weight}}, {{FontFace/width}}, {{FontFace/unicodeRange}}, {{FontFace/variant}}, and {{FontFace/featureSettings}} attributes
420
424
set to the same value as the corresponding descriptors in the ''@font-face'' rule.
421
425
There is a two-way connection between the two:
422
426
any change made to a ''@font-face'' descriptor is immediately reflected in the corresponding {{FontFace}} attribute,
0 commit comments