Skip to content

Commit 35f2b97

Browse files
committed
[css-font-loading] When check() returns no font faces, switch from returning true to returning false, so typos aren't a hazard.
1 parent c9a9e22 commit 35f2b97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

css-font-loading/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ The <code>check()</code> method</h3>
601601

602602
<li>
603603
If the <var>font face list</var> contains no font faces,
604-
return <code class="idl-code">true</code>.
604+
return <code class="idl-code">false</code>.
605605

606606
<li>
607607
If all fonts in the <var>font face list</var> have a <a attribute for=FontFace>status</a> attribute of "loaded",

css-font-loading/Overview.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ <h3 class="heading settled heading" data-level=3.4 id=font-face-set-check><span
698698

699699
<li>
700700
If the <var>font face list</var> contains no font faces,
701-
return <code class=idl-code>true</code>.
701+
return <code class=idl-code>false</code>.
702702

703703
<li>
704704
If all fonts in the <var>font face list</var> have a <a class=idl-code data-link-for=FontFace data-link-type=attribute href=#dom-fontface-status title=status>status</a> attribute of "loaded",

0 commit comments

Comments
 (0)