@@ -80,8 +80,6 @@ The <code>FontFace</code> Interface</h2>
80
80
or they can be constructed manually from a url or binary data.
81
81
82
82
<xmp class="idl">
83
- typedef (ArrayBuffer or ArrayBufferView) BinaryData;
84
-
85
83
dictionary FontFaceDescriptors {
86
84
CSSOMString style = "normal";
87
85
CSSOMString weight = "normal";
@@ -99,7 +97,7 @@ The <code>FontFace</code> Interface</h2>
99
97
100
98
[Exposed=(Window,Worker)]
101
99
interface FontFace {
102
- constructor(CSSOMString family, (CSSOMString or BinaryData ) source,
100
+ constructor(CSSOMString family, (CSSOMString or BufferSource ) source,
103
101
optional FontFaceDescriptors descriptors = {});
104
102
attribute CSSOMString family;
105
103
attribute CSSOMString style;
@@ -255,7 +253,7 @@ The Constructor</h3>
255
253
2. If the {{source!!argument}} argument was a {{CSSOMString}} ,
256
254
set <var> font face's</var> internal {{[[Urls]]}} slot to the string.
257
255
258
- If the {{source}} argument was a {{BinaryData }} ,
256
+ If the {{source}} argument was a {{BufferSource }} ,
259
257
set <var> font face's</var> internal {{[[Data]]}} slot to the passed argument.
260
258
261
259
3. If <var> font face's</var> {{[[Data]]}} slot is not <code> null</code> ,
0 commit comments