Skip to content

Commit f31691f

Browse files
authored
[css-font-loading-3] Remove unused ForEachCallback (w3c#5785)
* [font-loading-3] Remove unused ForEachCallback * Reuse BufferSource
1 parent c6fdc0c commit f31691f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

css-font-loading-3/Overview.bs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ The <code>FontFace</code> Interface</h2>
8080
or they can be constructed manually from a url or binary data.
8181

8282
<xmp class="idl">
83-
typedef (ArrayBuffer or ArrayBufferView) BinaryData;
84-
8583
dictionary FontFaceDescriptors {
8684
CSSOMString style = "normal";
8785
CSSOMString weight = "normal";
@@ -99,7 +97,7 @@ The <code>FontFace</code> Interface</h2>
9997

10098
[Exposed=(Window,Worker)]
10199
interface FontFace {
102-
constructor(CSSOMString family, (CSSOMString or BinaryData) source,
100+
constructor(CSSOMString family, (CSSOMString or BufferSource) source,
103101
optional FontFaceDescriptors descriptors = {});
104102
attribute CSSOMString family;
105103
attribute CSSOMString style;
@@ -255,7 +253,7 @@ The Constructor</h3>
255253
2. If the {{source!!argument}} argument was a {{CSSOMString}},
256254
set <var>font face's</var> internal {{[[Urls]]}} slot to the string.
257255

258-
If the {{source}} argument was a {{BinaryData}},
256+
If the {{source}} argument was a {{BufferSource}},
259257
set <var>font face's</var> internal {{[[Data]]}} slot to the passed argument.
260258

261259
3. If <var>font face's</var> {{[[Data]]}} slot is not <code>null</code>,

0 commit comments

Comments
 (0)