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
@@ -993,9 +993,9 @@ The <code>deleteRule</code> method</h4>
993
993
994
994
<dt><dfn argument for="CSSKeyframesRule/deleteRule()">key</dfn> of type <a interface>DOMString</a>
995
995
<dd>
996
-
The key which describes the rule to be deleted. A percentage value between
997
-
0% and 100%, or one of the keywords ''from'' or ''to'' which resolve to 0% and
998
-
100%, respectively.
996
+
The keyframe selector of the rule to be deleted: a comma-separated list of either percentage values between 0% and 100% or one of the keywords ''from'' or ''to'', which resolve to 0% and 100%, respectively.
997
+
998
+
The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s). The match is not sensitive to white-space.
999
999
</dl>
1000
1000
1001
1001
No Return Value
@@ -1016,9 +1016,9 @@ The <code>findRule</code> method</h4>
1016
1016
<dl>
1017
1017
<dt><dfn argument for="CSSKeyframesRule/findRule()">key</dfn> of type <a interface>DOMString</a>
1018
1018
<dd>
1019
-
The key which describes the rule to be deleted. A percentage value between
1020
-
0% and 100%, or one of the keywords ''from'' or ''to'' which resolve to 0% and
1021
-
100%, respectively.
1019
+
The keyframe selector of the rule to be retrieved: a comma-separated list of either percentage values between 0% and 100% or one of the keywords ''from'' or ''to'', which resolve to 0% and 100%, respectively.
1020
+
1021
+
The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s). The match is not sensitive to white-space.
1. Let <var>font face</var> be a fresh {{FontFace}} object.
@@ -431,6 +438,8 @@ The <code>FontFaceSet</code> Interface</h2>
431
438
};
432
439
</pre>
433
440
441
+
{{FontFaceSet/load()}}
442
+
434
443
<div dfn-for="FontFaceSet">
435
444
: <dfn attribute>ready</dfn>
436
445
:: This attribute reflects the {{FontFaceSet}}'s {{[[ReadyPromise]]}} slot.
@@ -686,15 +695,20 @@ Events</h3>
686
695
<h3 id='font-face-set-load'>
687
696
The <code>load()</code> method</h3>
688
697
689
-
The {{FontFaceSet/load() method of {{FontFaceSet}} will determine whether all fonts in the given font list
698
+
The {{FontFaceSet/load()}} method of {{FontFaceSet}} will determine whether all fonts in the given font list
690
699
have been loaded and are available.
691
700
If any fonts are downloadable fonts and have not already been loaded,
692
701
the user agent will initiate the load of each of these fonts.
693
702
It returns a Promise,
694
703
which is fulfilled when all of the fonts are loaded and ready to be used,
695
704
or rejected if any font failed to load properly.
696
705
697
-
When the <dfn method for="FontFaceSet" title="load()">load</dfn>(<dfn argument for="FontFaceSet/load()">font</dfn>, <dfn argument for="FontFaceSet/load()">text</dfn>) method is called,
706
+
When the <dfn method for="FontFaceSet" title="load(font, text)">load</dfn>(
707
+
<span dfn-for="FontFaceSet/load(font, text)">
708
+
<dfn argument>font</dfn>,
709
+
<dfn argument>text</dfn>
710
+
</span>
711
+
) method is called,
698
712
execute these steps:
699
713
700
714
<ol>
@@ -741,13 +755,15 @@ The <code>load()</code> method</h3>
741
755
<h3 id='font-face-set-check'>
742
756
The <code>check()</code> method</h3>
743
757
744
-
The {{check()}} method of {{FontFaceSet}} will determine whether all fonts in the given font list
758
+
The {{FontFaceSet/check()}} method of {{FontFaceSet}} will determine whether all fonts in the given font list
745
759
have been loaded and are available.
746
760
If all fonts are available,
747
761
it returns true;
748
762
otherwise, it returns false.
749
763
750
-
When the <dfn method for="FontFaceSet" title="check()">check</dfn>(<dfn argument for="FontFaceSet/check()">font</dfn>, <dfn argument for="FontFaceSet/check()">text</dfn>) method is called,
764
+
When the <dfn method for="FontFaceSet" title="check(font, text)|check(font)">check</dfn>(
0 commit comments