Skip to content

Commit 1e75404

Browse files
authored
[css-font-loading-3] Align with Web IDL specification (w3c#4797)
1 parent 35620d1 commit 1e75404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-font-loading-3/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The <code>FontFace</code> Interface</h2>
9595
[Exposed=(Window,Worker)]
9696
interface FontFace {
9797
constructor(CSSOMString family, (CSSOMString or BinaryData) source,
98-
optional FontFaceDescriptors descriptors);
98+
optional FontFaceDescriptors descriptors = {});
9999
attribute CSSOMString family;
100100
attribute CSSOMString style;
101101
attribute CSSOMString weight;
@@ -437,7 +437,7 @@ The <code>FontFaceSet</code> Interface</h2>
437437

438438
[Exposed=(Window,Worker)]
439439
interface FontFaceSetLoadEvent : Event {
440-
constructor(CSSOMString type, optional FontFaceSetLoadEventInit eventInitDict);
440+
constructor(CSSOMString type, optional FontFaceSetLoadEventInit eventInitDict = {});
441441
[SameObject] readonly attribute FrozenArray<FontFace> fontfaces;
442442
};
443443

0 commit comments

Comments
 (0)