Skip to content

Commit e7988e7

Browse files
committed
[css-font-loading] Reword example.
1 parent 78e93fd commit e7988e7

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

css-font-loading/Overview.bs

+6-3
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,12 @@ The Constructor</h3>
184184
and set <var>font face's</var> <a for=FontFace>status</a> attribute to "error".
185185
</ol>
186186

187-
Note: Note that constructing a <a idl>FontFace</a> object <strong>does not</strong> automatically add it to the document's <a>font source</a>.
188-
If it's desired that the newly-constructed <a idl>FontFace</a> object is usable from CSS/etc,
189-
it must be explicitly added to a <a>font source</a>.
187+
Note: Newly constructed FontFace objects are not automatically added
188+
to the FontFaceSet associated with a document
189+
or a context for a worker thread.
190+
This means that while newly constructed fonts can be preloaded,
191+
they cannot actually be used until they are explicitly added to a FontFaceSet.
192+
See the following section for a more complete description of FontFaceSet.
190193

191194
<h3 id='font-face-load'>
192195
The <code>load()</code> method</h3>

css-font-loading/Overview.html

+8-5
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</p>
1414
<h1 class="p-name no-ref" id=title>CSS Font Loading Module Level 3</h1>
1515
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>W3C First Public Working Draft,
16-
<span class=dt-updated><span class=value-title title=20140305>5 March 2014</span></span></span></h2>
17-
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://www.w3.org/TR/2014/WD-css-font-loading-3-20140305/>http://www.w3.org/TR/2014/WD-css-font-loading-3-20140305/</a><dt>Latest version:<dd><a href=http://w3.org/TR/css-font-loading/>http://w3.org/TR/css-font-loading/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-font-loading/>http://dev.w3.org/csswg/css-font-loading/</a>
16+
<span class=dt-updated><span class=value-title title=20140310>10 March 2014</span></span></span></h2>
17+
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://www.w3.org/TR/2014/WD-css-font-loading-3-20140310/>http://www.w3.org/TR/2014/WD-css-font-loading-3-20140310/</a><dt>Latest version:<dd><a href=http://w3.org/TR/css-font-loading/>http://w3.org/TR/css-font-loading/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-font-loading/>http://dev.w3.org/csswg/css-font-loading/</a>
1818
<dt>Feedback:</dt>
1919
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-font-loading%5D%20feedback">www-style@w3.org</a>
2020
with subject line
@@ -279,9 +279,12 @@ <h3 class="heading settled heading" data-level=2.1 id=font-face-constructor><spa
279279
and 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".
280280
</ol>
281281

282-
<p class=note> Note: Note that constructing a <a data-link-type=idl href=#dom-fontface title=fontface>FontFace</a> object <strong>does not</strong> automatically add it to the document’s <a data-link-type=dfn href=#font-source title="font source">font source</a>.
283-
If it’s desired that the newly-constructed <a data-link-type=idl href=#dom-fontface title=fontface>FontFace</a> object is usable from CSS/etc,
284-
it must be explicitly added to a <a data-link-type=dfn href=#font-source title="font source">font source</a>.
282+
<p class=note> Note: Newly constructed FontFace objects are not automatically added
283+
to the FontFaceSet associated with a document
284+
or a context for a worker thread.
285+
This means that while newly constructed fonts can be preloaded,
286+
they cannot actually be used until they are explicitly added to a FontFaceSet.
287+
See the following section for a more complete description of FontFaceSet.
285288

286289
<h3 class="heading settled heading" data-level=2.2 id=font-face-load><span class=secno>2.2 </span><span class=content>
287290
The <code>load()</code> method</span><a class=self-link href=#font-face-load></a></h3>

0 commit comments

Comments
 (0)