Skip to content

Commit c117dd2

Browse files
committed
[css-font-loading] Whoops, attribute should be .display, not .fontDisplay. Also updated Changes section.
1 parent 182933b commit c117dd2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

css-font-loading-3/Overview.bs

+5-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The <code>FontFace</code> Interface</h2>
8787
CSSOMString variant = "normal";
8888
CSSOMString featureSettings = "normal";
8989
CSSOMString variationSettings = "normal";
90-
CSSOMString fontDisplay = "auto";
90+
CSSOMString isplay = "auto";
9191
};
9292

9393
enum FontFaceLoadStatus { "unloaded", "loading", "loaded", "error" };
@@ -104,7 +104,7 @@ The <code>FontFace</code> Interface</h2>
104104
attribute CSSOMString variant;
105105
attribute CSSOMString featureSettings;
106106
attribute CSSOMString variationSettings;
107-
attribute CSSOMString fontDisplay;
107+
attribute CSSOMString isplay;
108108

109109
readonly attribute FontFaceLoadStatus status;
110110

@@ -143,7 +143,7 @@ The <code>FontFace</code> Interface</h2>
143143
: <dfn>variant</dfn>
144144
: <dfn>featureSettings</dfn>
145145
: <dfn>variationSettings</dfn>
146-
: <dfn>fontDisplay</dfn>
146+
: <dfn>display</dfn>
147147
::
148148
These attributes have the same meaning,
149149
and are parsed the same as,
@@ -1164,6 +1164,8 @@ API Examples</h2>
11641164
2. Switched {{FontFaceSetLoadEvent/fontfaces}} to be a FrozenArray,
11651165
to match with proper IDL practice.
11661166

1167+
3. Added {{FontFace/variationSettings}} and {{FontFace/display}}, to sync with ''@font-face''.
1168+
11671169
<h2 class=no-num id=acknowledgments>
11681170
Acknowledgments</h2>
11691171

0 commit comments

Comments
 (0)