@@ -119,16 +119,16 @@ The <code>FontFace</code> Interface</h2>
119119
120120 <dt> <dfn>loaded</dfn> , of type <a interface>Promise</a>
121121 <dd>
122- This attribute reflects the <a idl>[FontStatusPromise]</a> of the font face.
122+ This attribute reflects the <a idl>[<!---->[ FontStatusPromise] ]</a> of the font face.
123123 </dl>
124124
125- All <a interface>FontFace</a> objects contain an internal <dfn attribute for=FontFace>[FontStatusPromise]</dfn> attribute ,
125+ All <a interface>FontFace</a> objects contain an internal <dfn attribute for=FontFace>[<!---->[ FontStatusPromise]] </dfn> slot ,
126126 which tracks the status of the font.
127127 It starts out pending,
128128 and fulfills or rejects when the font is successfully loaded and parsed, or hits an error.
129129
130130 All <a interface>FontFace</a> objects also contain
131- internal <dfn attribute for=FontFace>[Urls]</dfn> and <dfn attribute for=FontFace>[Data]</dfn> attributes ,
131+ internal <dfn attribute for=FontFace>[<!---->[ Urls]] </dfn> and <dfn attribute for=FontFace>[<!---->[ Data]] </dfn> slots ,
132132 of which one is not <code> null</code> and the rest are <code> null</code> .
133133
134134<h3 id='font-face-constructor'>
@@ -145,7 +145,7 @@ The Constructor</h3>
145145 <li>
146146 Let <var> font face</var> be a fresh <a>FontFace</a> object.
147147 Set <var> font face's</var> <a for=FontFace>status</a> argument to <code> "unloaded"</code> .
148- Set its internal <a>[FontStatusPromise]</a> attribute to a newly-created <a idl>Promise</a> object.
148+ Set its internal <a>[<!---->[ FontStatusPromise]] </a> slot to a newly-created <a idl>Promise</a> object.
149149 Return <var> font face</var> ,
150150 and complete the rest of these steps asynchronously.
151151
@@ -154,15 +154,15 @@ The Constructor</h3>
154154 and the members of the <a argument for='FontFace/FontFace()'>descriptors</a> argument,
155155 according to the grammars of the corresponding descriptors of the CSS ''@font-face'' rule.
156156 If any of them fail to parse correctly,
157- reject <var> font face's</var> <a>[FontStatusPromise]</a> with a SyntaxError exception and abort these steps.
157+ reject <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a> with a SyntaxError exception and abort these steps.
158158 Otherwise, set <var> font face's</var> corresponding attributes to the serialization of the parsed values.
159159
160160 <li>
161161 If the <a>source</a> argument was a <a>DOMString</a> ,
162162 parse it according to the grammar of the 'src' descriptor of the CSS ''@font-face'' rule.
163163 If it fails to parse correctly,
164- reject <var> font face's</var> <a>[FontStatusPromise]</a> with a SyntaxError exception and abort these steps;
165- otherwise, set <var> font face's</var> internal <a>[Urls]</a> attribute to the string.
164+ reject <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a> with a SyntaxError exception and abort these steps;
165+ otherwise, set <var> font face's</var> internal <a>[<!---->[ Urls]] </a> slot to the string.
166166
167167 Note: Note that this means that passing a naked url as the source argument,
168168 like <code> "http://example.com/myFont.woff"</code> ,
@@ -174,18 +174,18 @@ The Constructor</h3>
174174 and refer to local fonts easily.
175175
176176 If the <a>source</a> argument was a <a>BinaryData</a> ,
177- set <var> font face's</var> internal <a>[Data]</a> attribute to the passed argument.
177+ set <var> font face's</var> internal <a>[<!---->[ Data]] </a> slot to the passed argument.
178178
179179 <li>
180- If <var> font face's</var> <a>[Data]</a> attribute is not <code> null</code> ,
180+ If <var> font face's</var> <a>[<!---->[ Data]] </a> slot is not <code> null</code> ,
181181 set <var> font face's</var> <a for=FontFace>status</a> attribute to "loading",
182182 and attempt to parse the data in it as a font.
183183 If this is successful,
184184 <var> font face</var> now represents the parsed font;
185- fulfill <var> font face's</var> <a>[FontStatusPromise]</a> with <var> font face</var> ,
185+ fulfill <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a> with <var> font face</var> ,
186186 and set its <a for=FontFace>status</a> attribute to "loaded".
187187 If it is unsuccessful,
188- reject <var> font face's</var> <a>[FontStatusPromise]</a> with a SyntaxError
188+ reject <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a> with a SyntaxError
189189 and set <var> font face's</var> <a for=FontFace>status</a> attribute to "error".
190190 </ol>
191191
@@ -213,31 +213,31 @@ The <code>load()</code> method</h3>
213213 Let <var> font face</var> be the <a>FontFace</a> object on which this method was called.
214214
215215 <li>
216- If <var> font face's</var> <a>[Urls]</a> attribute is <code> null</code> ,
216+ If <var> font face's</var> <a>[<!---->[ Urls]] </a> slot is <code> null</code> ,
217217 or its <a for=FontFace>status</a> attribute is anything other than <code> "unloaded"</code> ,
218- return <var> font face's</var> <a>[FontStatusPromise]</a>
218+ return <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a>
219219 and abort these steps.
220220
221221 <li>
222222 Otherwise,
223223 set <var> font face's</var> <a for=FontFace>status</a> attribute to "loading",
224- return <var> font face's</var> <a>[FontStatusPromise]</a> ,
224+ return <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a> ,
225225 and continue executing the rest of this algorithm asynchronously.
226226
227227 <li>
228- Using the value of <var> font face's</a> <a>[Urls]</a> attribute ,
228+ Using the value of <var> font face's</a> <a>[<!---->[ Urls]] </a> slot ,
229229 attempt to load a font as defined in [[!CSS3-FONTS]] ,
230230 as if it was the value of a ''@font-face'' rule's 'src' descriptor.
231231
232232 <li>
233233 If the attempt to load fails,
234- reject <var> font face's</var> <a>[FontStatusPromise]</a> with a NetworkError
234+ reject <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a> with a NetworkError
235235 and set <var> font face's</var> <a for=FontFace>status</a> attribute to "error".
236236
237237 <li>
238238 Otherwise,
239239 <var> font face</var> now represents the loaded font;
240- fulfill <var> font face's</var> <a>[FontStatusPromise]</a> with <var> font face</var>
240+ fulfill <var> font face's</var> <a>[<!---->[ FontStatusPromise] ]</a> with <var> font face</var>
241241 and set <var> font face's</var> <a for=FontFace>status</a> attribute to "loaded".
242242 </ol>
243243
@@ -261,7 +261,7 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
261261 any change made to a ''@font-face'' descriptor is immediately reflected in the corresponding <a interface>FontFace</a> attribute,
262262 and vice versa.
263263
264- The internal <a attribute>[Urls]</a> attribute of the <a interface>FontFace</a> object is set to the value of the ''@font-face'' rule's 'src' descriptor,
264+ The internal <a attribute>[<!---->[ Urls]] </a> slot of the <a interface>FontFace</a> object is set to the value of the ''@font-face'' rule's 'src' descriptor,
265265 and reflects any changes made to the 'src' descriptor.
266266
267267 Otherwise, a <a interface>FontFace</a> object created by a CSS ''@font-face'' rule is identical to one created manually.
@@ -351,10 +351,10 @@ The <code>FontFaceSet</code> Interface</h2>
351351 </dl>
352352
353353 <a interface>FontFaceSet</a> objects also have internal
354- <dfn attribute for=FontFaceSet>[LoadingFonts]</dfn> ,
355- <dfn attribute for=FontFaceSet>[LoadedFonts]</dfn> ,
356- <dfn attribute for=FontFaceSet>[FailedFonts]</dfn> ,
357- and <dfn attribute for=FontFaceSet>[PendingReadyPromises]</dfn> attributes ,
354+ <dfn attribute for=FontFaceSet>[<!---->[ LoadingFonts] ]</dfn> ,
355+ <dfn attribute for=FontFaceSet>[<!---->[ LoadedFonts] ]</dfn> ,
356+ <dfn attribute for=FontFaceSet>[<!---->[ FailedFonts] ]</dfn> ,
357+ and <dfn attribute for=FontFaceSet>[<!---->[ PendingReadyPromises]] </dfn> slots ,
358358 all of which are initialized to the empty list.
359359
360360<h3 id='set-modifications'>
@@ -433,11 +433,11 @@ Events</h3>
433433 Set the <a attribute for=FontFaceSet>status</a> attribute of <var> font face set</var> to "loading".
434434
435435 <li>
436- If <var> font face set's</var> <a attribute>[LoadingFonts]</a> attribute is currently empty,
436+ If <var> font face set's</var> <a attribute>[<!---->[ LoadingFonts]] </a> slot is currently empty,
437437 <a>fire a font load event</a> named <a event>loading</a> at <var> font face set</var> .
438438
439439 <li>
440- Append the <var> loading fonts</var> to <var> font face set's</var> <a attribute>[LoadingFonts]</a> attribute .
440+ Append the <var> loading fonts</var> to <var> font face set's</var> <a attribute>[<!---->[ LoadingFonts]] </a> slot .
441441 </ol>
442442
443443 Whenever one or more <a>available font faces</a> for a given <a interface>FontFaceSet</a>
@@ -454,13 +454,13 @@ Events</h3>
454454 <li>
455455 For each font in the <var> loaded fonts</var> ,
456456 if their <a attribute for=FontFace>status</a> attribute is "loaded",
457- append them to <var> font face set's</var> <a attribute>[LoadedFonts]</a> attribute ;
457+ append them to <var> font face set's</var> <a attribute>[<!---->[ LoadedFonts]] </a> slot ;
458458 if it's "error",
459- append them to <var> font face set's</var> <a attribute>[FailedFonts]</a> attribute .
459+ append them to <var> font face set's</var> <a attribute>[<!---->[ FailedFonts]] </a> slot .
460460 </ol>
461461
462462 If there are ever <a>no pending font loads</a>
463- and either of <var> font face set's</var> <a attribute>[LoadedFonts]</a> or <a attribute>[FailedFonts]</a> attributes are not empty,
463+ and either of <var> font face set's</var> <a attribute>[<!---->[ LoadedFonts]] </a> or <a attribute>[<!---->[ FailedFonts]] </a> slots are not empty,
464464 user agents must run these steps:
465465
466466 <ol>
@@ -469,19 +469,19 @@ Events</h3>
469469
470470 <li>
471471 <a>Fire a font load event</a> named <a event>loadingdone</a> at <var> font face set</var>
472- with the contents of <var> font face set's</var> <a attribute>[LoadedFonts]</a> attribute , if any.
472+ with the contents of <var> font face set's</var> <a attribute>[<!---->[ LoadedFonts]] </a> slots , if any.
473473
474474 <li>
475- If <var> font face set's</var> <a attribute>[FailedFonts]</a> attribute is non-empty,
475+ If <var> font face set's</var> <a attribute>[<!---->[ FailedFonts]] </a> slots is non-empty,
476476 <a>fire a font load event</a> named <a event>loadingerror</a> at <var> font face set</var>
477- with the contents of <var> font face set's</var> <a attribute>[FailedFonts]</a> attribute .
477+ with the contents of <var> font face set's</var> <a attribute>[<!---->[ FailedFonts]] </a> slot .
478478
479479 <li>
480- If <var> font face set's</var> <a attribute>[PendingReadyPromises]</a> attribute is non-empty,
480+ If <var> font face set's</var> <a attribute>[<!---->[ PendingReadyPromises] ]</a> attribute is non-empty,
481481 fulfill each promise in the attribute's value with <var> font face set</var> .
482482
483483 <li>
484- Empty <var> font face set's</var> <a attribute>[LoadingFonts]</a> , <a attribute>[LoadedFonts]</a> , <a attribute>[FailedFonts]</a> , and <a attribute>[PendingReadyPromises]</a> attributes .
484+ Empty <var> font face set's</var> <a attribute>[<!---->[ LoadingFonts]] </a> , <a attribute>[<!---->[ LoadedFonts]] </a> , <a attribute>[<!---->[ FailedFonts]] </a> , and <a attribute>[<!---->[ PendingReadyPromises]] </a> slots .
485485 </ol>
486486
487487
@@ -566,7 +566,7 @@ The <code>load()</code> method</h3>
566566
567567 <li>
568568 Resolve <var> promise</var> with the result of
569- waiting for all of the <a attribute>[FontStatusPromise]</a> s of each font face in the <var> font face list</var> , in order.
569+ waiting for all of the <a attribute>[<!---->[ FontStatusPromise] ]</a> s of each font face in the <var> font face list</var> , in order.
570570 </ol>
571571
572572<h3 id='font-face-set-check'>
@@ -624,7 +624,7 @@ The <code>ready()</code> method</h3>
624624 If <var> font face set's</var> <a attribute for=FontFaceSet>status</a> attribute is "loaded",
625625 fulfill <var> ready promise</var> with <var> font face set</var> .
626626 Otherwise, append <var> ready promise</var>
627- to <var> font face set's</var> <a attribute>[PendingReadyPromises]</a> attribute .
627+ to <var> font face set's</var> <a attribute>[<!---->[ PendingReadyPromises]] </a> slot .
628628
629629 <li>
630630 Return <var> ready promise</var> .
0 commit comments