Skip to content

Commit abd2458

Browse files
author
Chris Lilley
committed
[css-font-loading-3] Update changes, w3c#7065
1 parent 922cda2 commit abd2458

File tree

1 file changed

+38
-7
lines changed

1 file changed

+38
-7
lines changed

css-font-loading-3/Overview.bs

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,18 +1203,49 @@ API Examples</h2>
12031203
It doesn't interfere with the {{loadingdone}} event.
12041204
</div>
12051205

1206-
12071206
<h2 class="no-num" id="changes">Changes</h2>
12081207

12091208
Changes from the <a href="https://www.w3.org/TR/2014/WD-css-font-loading-3-20140522/">May 2014 CSS Font Loading Last Call Working Draft</a>:
12101209

1211-
1. Corrected the async algorithms to use "queue a task" language,
1212-
to ensure that side-effect timing is well-defined.
1213-
1214-
2. Switched {{FontFaceSetLoadEvent/fontfaces}} to be a FrozenArray,
1215-
to match with proper IDL practice.
1210+
<ul>
1211+
<!-- to 3 Apr 2023 -->
1212+
<li>Added IDL for discovery of font information.</li>
1213+
<li>Clarified that FontFaceSet.clear() does not clear CSS-connected items.</li>
1214+
<li>Mentioed document.fonts in the introduction.</li>
1215+
<li>Font loading applies to shadow roots as well as documents.</li>
1216+
<li>No longer throw an error if none of the specified fonts exist, because this will not trigger any font loading.</li>
1217+
<li>Better alignment with WebIDL.</li>
1218+
<li>Switched to constructor() method syntax.</li>
1219+
<li>Clarified behavior of the matching font faces algorithm if the string to match is empty.</li>
1220+
<li>Converted FontFaceSource to a mixin.</li>
1221+
<li>Legacy term CanvasProxy changed to OffscreenCanvas.</li>
1222+
<li>Harmonized FontFace with @font-face, adding variationSettings and fontDisplay.</li>
1223+
<li>Consistently use [Exposed] in the IDL.</li>
1224+
<li>Prefer CSSOMString to DOMString</li>
1225+
<li>Better introductory text for check()</li>
1226+
<li>Clarified that layout operations which depend on recently-loaded fonts must be allowed to complete.</li>
1227+
<li>Cover more edge cases when firing load events.</li>
1228+
<li>Prefer async event queueing tasks over synchronous calls</li>
1229+
<li>fonts.ready is a property, not a function.</li>
1230+
<li>Differentiated between non-existing fonts, and fonts which exist but lack the required glyphs.</li>
1231+
<li>Precisely listed order of steps for several methods</li>
1232+
<li>Clarified handling og global keywords and relative values in the load() and check() functions.</li>
1233+
<li>Parsing a src argument is the same as parsing a CSS @font-face src descriptor.</li>
1234+
<li>Clarified that attempting to delete a CSS connected font has no effect, and returns false.</li>
1235+
<li>Clarified that adding duplicate fonts has no effect.</li>
1236+
<li>Clarified ordering of manually added FontFace object.</li>
1237+
<li>Clarified that load events only include faces still present in the set.</li>
1238+
<li>Added {{FontFace/variationSettings}} and {{FontFace/display}}, to sync with ''@font-face''.</li>
1239+
<li>Switched {{FontFaceSetLoadEvent/fontfaces}} to be a FrozenArray,
1240+
to match with proper IDL practice.</li>
1241+
<li>Fire loading events and handle promises when a loading font is added to a FontFaceSet.</li>
1242+
<li>Corrected the async algorithms to use "queue a task" language,
1243+
to ensure that side-effect timing is well-defined.</li>
1244+
<li>Updated several references to latest versions.</li>
1245+
<li>Corrections to the IDL.</li>
1246+
<li>Assorted typos and grammatical errors corrected.</li>
1247+
</ul>
12161248

1217-
3. Added {{FontFace/variationSettings}} and {{FontFace/display}}, to sync with ''@font-face''.
12181249

12191250
<h2 class=no-num id=acknowledgments>
12201251
Acknowledgments</h2>

0 commit comments

Comments
 (0)