Skip to content

Commit bff8dfd

Browse files
authored
remove font-variant support from FontFace
This implements the Font Loading API part of #2531.
1 parent 97cf85c commit bff8dfd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

css-font-loading-3/Overview.bs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ The <code>FontFace</code> Interface</h2>
8484
CSSOMString weight = "normal";
8585
CSSOMString stretch = "normal";
8686
CSSOMString unicodeRange = "U+0-10FFFF";
87-
CSSOMString variant = "normal";
8887
CSSOMString featureSettings = "normal";
8988
CSSOMString variationSettings = "normal";
9089
CSSOMString display = "auto";
@@ -101,7 +100,6 @@ The <code>FontFace</code> Interface</h2>
101100
attribute CSSOMString weight;
102101
attribute CSSOMString stretch;
103102
attribute CSSOMString unicodeRange;
104-
attribute CSSOMString variant;
105103
attribute CSSOMString featureSettings;
106104
attribute CSSOMString variationSettings;
107105
attribute CSSOMString display;
@@ -140,7 +138,6 @@ The <code>FontFace</code> Interface</h2>
140138
throw a {{SyntaxError}};
141139
otherwise, set the attribute to the serialization of the parsed value.
142140

143-
: <dfn>variant</dfn>
144141
: <dfn>featureSettings</dfn>
145142
: <dfn>variationSettings</dfn>
146143
: <dfn>display</dfn>
@@ -394,7 +391,7 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
394391
This {{FontFace}} object is <dfn>CSS-connected</dfn>.
395392

396393
The {{FontFace}} object corresponding to a ''@font-face'' rule
397-
has its {{FontFace/family}}, {{FontFace/style}}, {{FontFace/weight}}, {{FontFace/stretch}}, {{FontFace/unicodeRange}}, {{FontFace/variant}}, and {{FontFace/featureSettings}} attributes
394+
has its {{FontFace/family}}, {{FontFace/style}}, {{FontFace/weight}}, {{FontFace/stretch}}, {{FontFace/unicodeRange}}, and {{FontFace/featureSettings}} attributes
398395
set to the same value as the corresponding descriptors in the ''@font-face'' rule.
399396
There is a two-way connection between the two:
400397
any change made to a ''@font-face'' descriptor is immediately reflected in the corresponding {{FontFace}} attribute,

0 commit comments

Comments
 (0)