Skip to content

Commit 586c4c1

Browse files
committed
[css-font-loading] Add a note about FontFaces just being removed from the font source, not actually deleted or anything.
1 parent 938208d commit 586c4c1

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

css-font-loading/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,11 @@ Interaction with CSS’s ''@font-face'' Rule</h3>
965965
must be added or removed from the document's <a>font source</a>,
966966
and maintain this ordering.
967967

968+
Note: Authors can still maintain references to a removed {{FontFace}},
969+
even if it's been automatically removed from a <a>font source</a>.
970+
As specified in [[#font-face-css-connection]], though,
971+
the {{FontFace}} is no longer <a>CSS-connected</a> at that point.
972+
968973
All non-<a>CSS-connected</a> {{FontFace}} objects must be sorted after the <a>CSS-connected</a> ones,
969974
in insertion order.
970975

css-font-loading/Overview.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,12 @@ <h3 class="heading settled" data-level=4.2 id=document-font-face-set><span class
987987
must be added or removed from the document’s <a data-link-type=dfn href=#font-source title="font source">font source</a>,
988988
and maintain this ordering.</p>
989989

990+
<p class=note>Note: Authors can still maintain references to a removed <code class=idl><a data-link-type=idl href=#dom-fontface title=FontFace>FontFace</a></code>,
991+
even if it’s been automatically removed from a <a data-link-type=dfn href=#font-source title="font source">font source</a>.
992+
As specified in <a data-section="" href=#font-face-css-connection>§2.3
993+
Interaction with CSS’s @font-face Rule</a>, though,
994+
the <code class=idl><a data-link-type=idl href=#dom-fontface title=FontFace>FontFace</a></code> is no longer <a data-link-type=dfn href=#css-connected title=CSS-connected>CSS-connected</a> at that point.</p>
995+
990996
<p>All non-<a data-link-type=dfn href=#css-connected title=CSS-connected>CSS-connected</a> <code class=idl><a data-link-type=idl href=#dom-fontface title=FontFace>FontFace</a></code> objects must be sorted after the <a data-link-type=dfn href=#css-connected title=CSS-connected>CSS-connected</a> ones,
991997
in insertion order.</p>
992998

0 commit comments

Comments
 (0)