Skip to content

Commit 61050b3

Browse files
committed
[css-font-loading-3][editorial] Added WPTs
1 parent 6bcde27 commit 61050b3

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed

css-color-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ Parsing a <<color>> Value</h3>
12741274
4. Return |used color|.
12751275
</div>
12761276

1277-
Note: This algorithm is not intented
1277+
Note: This algorithm is not intented
12781278
to parse a CSS <<color>> value
12791279
specified in a CSS stylesheet
12801280
or with a CSSOM interface,

css-font-loading-3/Overview.bs

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Former Editor: John Daggett, Mozilla, jdaggett@mozilla.com
1414
Abstract: This CSS module describes events and interfaces used for dynamically loading font resources.
1515
Link Defaults: css-fonts-4 (descriptor) src, dom (interface) Event
1616
Ignored Terms: EventHandler, InvalidModificationError, WorkerGlobalScope, Document, add(), src
17+
WPT Path Prefix: css/css-font-loading/
18+
WPT Display: closed
1719
</pre>
1820

1921
<pre class="link-defaults">
@@ -117,6 +119,13 @@ The <code>FontFace</code> Interface</h2>
117119
};
118120
</xmp>
119121

122+
<wpt>
123+
fontface-descriptor-updates.html
124+
fontface-override-descriptor-getter-setter.sub.html
125+
fontface-override-descriptors.html
126+
fontface-size-adjust-descriptor.html
127+
</wpt>
128+
120129
Issue: Clarify all mentions of "the document" to be clear about which document is being referenced,
121130
since objects can move between documents.
122131

@@ -391,6 +400,12 @@ The <code>load()</code> method</h3>
391400
(perhaps on a different page entirely!)
392401
has been loaded.
393402

403+
<wpt>
404+
empty-family-load.html
405+
font-face-reject.html
406+
fontface-load-in-modal-dialog.html
407+
</wpt>
408+
394409
<h3 id='font-face-css-connection'>
395410
Interaction with CSS’s ''@font-face'' Rule</h3>
396411

@@ -423,6 +438,10 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
423438
and <a>CSS-connected</a> to the ''@font-face''.
424439
(This will also remove the old and add the new {{FontFace}} objects from any <a>font sources</a> they appear in.)
425440

441+
<wpt>
442+
nonexistent-file-url.html
443+
</wpt>
444+
426445
<h3 id='discovery'>
427446
Discovery of information about a font</h3>
428447

@@ -530,6 +549,12 @@ The <code>FontFaceSet</code> Interface</h2>
530549
};
531550
</xmp>
532551

552+
<wpt>
553+
fontfaceset-has.html
554+
fontfacesetloadevent-constructor.html
555+
idlharness.https.html
556+
</wpt>
557+
533558
<div dfn-for="FontFaceSet">
534559
: <dfn attribute>ready</dfn>
535560
:: This attribute reflects the {{FontFaceSet}}'s {{[[ReadyPromise]]}} slot.
@@ -566,6 +591,10 @@ The <code>FontFaceSet</code> Interface</h2>
566591
2. Append <var>font</var> to the {{FontFaceSet}}’s {{[[LoadingFonts]]}} list.
567592
3. Return the {{FontFaceSet}}.
568593

594+
<wpt>
595+
fontfaceset-add-css-connected.html
596+
</wpt>
597+
569598
: <dfn method>delete(font)</dfn>
570599
::
571600
When the {{delete()}} method is called,
@@ -584,6 +613,11 @@ The <code>FontFaceSet</code> Interface</h2>
584613
<a>switch the FontFaceSet to loaded</a>.
585614
5. Return <var>deleted</var>.
586615

616+
<wpt>
617+
fontfaceset-delete-css-connected-2.html
618+
fontfaceset-delete-css-connected.html
619+
</wpt>
620+
587621
: <dfn method>clear()</dfn>
588622
::
589623
When the {{clear()}} method is called,
@@ -595,6 +629,12 @@ The <code>FontFaceSet</code> Interface</h2>
595629
2. If the {{FontFaceSet}}’s {{[[LoadingFonts]]}} list is non-empty,
596630
remove all items from it,
597631
then <a>switch the FontFaceSet to loaded</a>.
632+
633+
<wpt>
634+
fontfaceset-clear-css-connected-2.html
635+
fontfaceset-clear-css-connected.html
636+
</wpt>
637+
598638
</div>
599639

600640
{{FontFaceSet}} objects also have internal
@@ -791,6 +831,10 @@ Events</h3>
791831
Return <var>matched font faces</var> and the <var>found faces</var> flag.
792832
</ol>
793833

834+
<wpt>
835+
fontface-loadingevent.html
836+
</wpt>
837+
794838
<!--
795839
██ ███████ ███ ████████ ███ ███
796840
██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -852,6 +896,12 @@ The <code>load()</code> method</h3>
852896
</ol>
853897
</ol>
854898

899+
<wpt>
900+
fontfaceset-load-css-wide-keywords.html
901+
fontfaceset-load-var.html
902+
fontfaceset-no-root-element.html
903+
</wpt>
904+
855905
<!--
856906
██████ ██ ██ ████████ ██████ ██ ██ ███ ███
857907
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -952,6 +1002,10 @@ The <code>ready</code> attribute</h3>
9521002
never rejected,
9531003
unlike the Promise returned by the {{FontFace}} {{FontFace/load()}} method.
9541004

1005+
<wpt>
1006+
fontface-fonts-loading.html
1007+
</wpt>
1008+
9551009
<h3 id='font-face-set-css'>
9561010
Interaction with CSS Font Loading and Matching</h3>
9571011

@@ -1060,6 +1114,11 @@ Worker FontFaceSources</h3>
10601114
which affects CSS font-matching within the worker
10611115
(such as, for example, drawing text into a {{OffscreenCanvas}}).
10621116

1117+
<wpt>
1118+
fontfaceset-loading-worker-crash.html
1119+
fontfaceset-worker-fontface-crash.html
1120+
</wpt>
1121+
10631122
<h3 id="document-font-face-set">
10641123
Interaction with CSS’s ''@font-face'' Rule</h3>
10651124

@@ -1094,6 +1153,11 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
10941153
Note: It is expected that a future version of this specification
10951154
will define ways of interacting with and querying local fonts as well.
10961155

1156+
<wpt>
1157+
fontfaceset-load-css-connected.html
1158+
fontfaceset-update-after-stylesheet-change.html
1159+
</wpt>
1160+
10971161
<!--
10981162
███ ████████ ████ ████████ ██ ██ ███ ██ ██ ████████ ██ ████████ ██████
10991163
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ███ ██ ██ ██ ██ ██ ██

0 commit comments

Comments
 (0)