8000 [css-font-loading] Fix Bikeshed warning. · w3c/csswg-drafts@f3730f5 · GitHub
Skip to content

Commit f3730f5

Browse files
committed
[css-font-loading] Fix Bikeshed warning.
1 parent 60433e4 commit f3730f5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css-font-loading/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ The Constructor</h3>
199199
according to the grammars of the corresponding descriptors of the CSS ''@font-face'' rule.
200200
If any of them fail to parse correctly,
201201
reject <var>font face's</var> <a>[<!---->[FontStatusPromise]]</a> with a DOMException named "SyntaxError",
202-
queue a task to set <var>font face’s</var> <a idl>status</a> attribute to "error",
202+
queue a task to set <var>font face’s</var> <a idl for=FontFace>status</a> attribute to "error",
203203
and abort these steps.
204204
Otherwise, queue a task to set <var>font face's</var> corresponding attributes to the serialization of the parsed values.
205205

@@ -208,7 +208,7 @@ The Constructor</h3>
208208
parse it according to the grammar of the 'src' descriptor of the CSS ''@font-face'' rule.
209209
If it fails to parse correctly,
210210
reject <var>font face's</var> <a>[<!---->[FontStatusPromise]]</a> with a DOMException named "SyntaxError" exception
211-
queue a task to set <var>font face’s</var> <a idl>status</a> attribute to "error",
211+
queue a task to set <var>font face’s</var> <a idl for=FontFace>status</a> attribute to "error",
212212
and abort these steps;
213213
otherwise, set <var>font face's</var> internal <a>[<!---->[Urls]]</a> slot to the string.
214214

css-font-loading/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ <h3 class="heading settled heading" data-level=2.1 id=font-face-constructor><spa
326326
according to the grammars of the corresponding descriptors of the CSS <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-rule title=@font-face>@font-face</a> rule.
327327
If any of them fail to parse correctly,
328328
reject <var>font face’s</var> <a data-link-type=idl href=#dom-fontface-fontstatuspromise title=[[fontstatuspromise]]>[[FontStatusPromise]]</a> with a DOMException named "SyntaxError",
329-
queue a task to set <var>font face’s</var> <a data-link-type=idl href=#dom-fontface-status title=status>status</a> attribute to "error",
329+
queue a task to set <var>font face’s</var> <a data-link-for=FontFace data-link-type=idl href=#dom-fontface-status title=status>status</a> attribute to "error",
330330
and abort these steps.
331331
Otherwise, queue a task to set <var>font face’s</var> corresponding attributes to the serialization of the parsed values.
332332

@@ -335,7 +335,7 @@ <h3 class="heading settled heading" data-level=2.1 id=font-face-constructor><spa
335335
parse it according to the grammar of the <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-fonts-3/#descdef-src title=src>src</a> descriptor of the CSS <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-rule title=@font-face>@font-face</a> rule.
336336
If it fails to parse correctly,
337337
reject <var>font face’s</var> <a data-link-type=idl href=#dom-fontface-fontstatuspromise title=[[fontstatuspromise]]>[[FontStatusPromise]]</a> with a DOMException named "SyntaxError" exception
338-
queue a task to set <var>font face’s</var> <a data-link-type=idl href=#dom-fontface-status title=status>status</a> attribute to "error",
338+
queue a task to set <var>font face’s</var> <a data-link-for=FontFace data-link-type=idl href=#dom-fontface-status title=status>status</a> attribute to "error",
339339
and abort these steps;
340340
otherwise, set <var>font face’s</var> internal <a data-link-type=idl href=#dom-fontface-urls title=[[urls]]>[[Urls]]</a> slot to the string.
341341

0 commit comments

Comments
 (0)