Skip to content

Commit 3f589dc

Browse files
committed
[css-font-load-events] Remove the now-useless markup from the IDL block.
1 parent ab5fff9 commit 3f589dc

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

css-font-load-events/Overview.src.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -348,45 +348,45 @@ <h2 id="FontFaceSet-interface">
348348
The <code>FontFaceSet</code> Interface</h2>
349349

350350
<pre class="idl">
351-
dictionary <dfn dictionary>CSSFontFaceLoadEventInit</dfn> : <a dictionary>EventInit</a> {
352-
sequence&lt;CSSFontFaceRule> <dfn dictmember for=CSSFontFaceLoadEventInit>fontfaces</dfn> = null;
351+
dictionary CSSFontFaceLoadEventInit : EventInit {
352+
sequence&lt;CSSFontFaceRule> fontfaces = null;
353353
};
354354

355-
[Constructor(DOMString type, optional <a dictionary>CSSFontFaceLoadEventInit</a> eventInitDict)]
356-
interface <dfn interface>CSSFontFaceLoadEvent</dfn> : <a interface>Event</a> {
357-
readonly attribute sequence&lt;CSSFontFaceRule> <dfn attribute for=CSSFontFaceLoadEvent>fontfaces</dfn>;
355+
[Constructor(DOMString type, optional CSSFontFaceLoadEventInit eventInitDict)]
356+
interface CSSFontFaceLoadEvent : Event {
357+
readonly attribute sequence&lt;CSSFontFaceRule> fontfaces;
358358
}
359359

360360
enum FontFaceSetLoadStatus { "loading", "loaded" };
361361

362-
[SetClass(<a interface>FontFace</a>)]
363-
interface <dfn interface>FontFaceSet</dfn> {
362+
[SetClass(FontFace)]
363+
interface FontFaceSet {
364364

365365
// -- events for when loading state changes
366-
attribute <a interface>EventHandler</a> <dfn attribute for=FontFaceSet>onloading</dfn>;
367-
attribute <a interface>EventHandler</a> <dfn attribute for=FontFaceSet>onloadingdone</dfn>;
368-
attribute <a interface>EventHandler</a> <dfn attribute for=FontFaceSet>onloadingerror</dfn>;
366+
attribute EventHandler onloading;
367+
attribute EventHandler onloadingdone;
368+
attribute EventHandler onloadingerror;
369369

370370
// Return the fonts that match the given "font" argument
371371
// and can render the given characters.
372-
sequence&lt;<a interface>FontFace</a>> match(DOMString font, optional DOMString text = " ");
372+
sequence&lt;FontFace> match(DOMString font, optional DOMString text = " ");
373373

374374
// check and start loads if appropriate
375375
// and fulfill promise when all loads complete
376-
Promise <a method for=FontFaceSet title="load()">load</a>(DOMString font, optional DOMString text = " ");
376+
Promise load(DOMString font, optional DOMString text = " ");
377377

378378
// return whether all fonts in the fontlist are loaded
379379
// (does not initiate load if not available)
380-
boolean <a method for=FontFaceSet title="check()">check</a>(DOMString font, optional DOMString text = " ");
380+
boolean check(DOMString font, optional DOMString text = " ");
381381

382382
// async notification that font loading and layout operations are done
383-
Promise <a method for=FontFaceSet title="ready()">ready</a>();
383+
Promise ready();
384384

385385
// loading state, true while one or more fonts loading, false otherwise
386-
readonly attribute <a enum>FontFaceLoadStatus</a> <dfn attribute for=FontFaceSet>status</dfn>;
386+
readonly attribute FontFaceLoadStatus status;
387387
};
388388

389-
<a interface>FontFaceSet</a> implements <a interface>EventTarget</a>;
389+
FontFaceSet implements EventTarget;
390390
</pre>
391391

392392
The set entries for a <a interface>FontFaceSet</a> is initially an empty list.

0 commit comments

Comments
 (0)