You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
according to the grammars of the corresponding descriptors of the CSS <aclass=cssdata-link-type=maybehref=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-ruletitle=@font-face>@font-face</a> rule.
293
293
If any of them fail to parse correctly,
294
294
reject <var>font face’s</var><adata-link-type=idlhref=#dom-fontface-fontstatuspromisetitle=[[fontstatuspromise]]>[[FontStatusPromise]]</a> with a DOMException named "SyntaxError" and abort these steps.
295
-
Otherwise, set <var>font face’s</var> corresponding attributes to the serialization of the parsed values.
295
+
Otherwise, queue a task to set <var>font face’s</var> corresponding attributes to the serialization of the parsed values.
296
296
297
297
<li>
298
298
If the <adata-link-type=idlhref=#dom-fontfacefontface-sourcetitle=source>source</a> argument was a <adata-link-type=idltitle=domstring>DOMString</a>,
If <var>font face’s</var><adata-link-type=idlhref=#dom-fontface-datatitle=[[data]]>[[Data]]</a> slot is not <code>null</code>,
318
-
set <var>font face’s</var><adata-link-for=FontFacedata-link-type=idlhref=#dom-fontface-statustitle=status>status</a> attribute to "loading",
319
-
and attempt to parse the data in it as a font.
318
+
queue a task to set <var>font face’s</var><adata-link-for=FontFacedata-link-type=idlhref=#dom-fontface-statustitle=status>status</a> attribute to "loading".
0 commit comments