Skip to content

Commit 2edfade

Browse files
committed
[css-font-load-events] Clarify that removing a @font-face from the document kills the connection with its corresponding FontFace.
--HG-- extra : rebase_source : 5c6a92bbe5694dc74c9e752fcfbf448edea239a7
1 parent 9b5474c commit 2edfade

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

css-font-load-events/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
</a></p>
7878
<h1 class="p-name no-ref" id=title>CSS Font Load Events Module Level 3</h1>
7979
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
80-
<span class=dt-updated><span class=value-title title=20130908>8 September 2013</span></span></span></h2>
80+
<span class=dt-updated><span class=value-title title=20130911>11 September 2013</span></span></span></h2>
8181
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-font-load-events/>http://dev.w3.org/csswg/css-font-load-events/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-font-load-events-3/>http://www.w3.org/TR/css-font-load-events-3/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-font-load-events/>http://dev.w3.org/csswg/css-font-load-events/</a>
8282
<dt>Feedback:</dt>
8383
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-font-load-events%5D%20feedback">www-style@w3.org</a>
@@ -423,6 +423,8 @@ <h3 class="heading settled heading" data-level=2.5 id=font-face-css-connection><
423423

424424
<p> Otherwise, a <a class=idl-code data-link-type=interface href=#dom-fontface>FontFace</a> object created by a CSS <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-rule>@font-face</a> rule is identical to one created manually.
425425

426+
<p> If a <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-rule>@font-face</a> rule is removed from the document, its corresponding <a class=idl-code data-link-type=interface href=#dom-fontface>FontFace</a> object is no longer <a href=#css-connected>CSS-connected</a>. The connection is not restorable by any means (but adding the <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-rule>@font-face</a> back to the stylesheet will create a brand new <a class=idl-code data-link-type=interface href=#dom-fontface>FontFace</a> object which <em>is</em> <a href=#css-connected>CSS-connected</a>).
427+
426428

427429

428430
<h2 class="heading settled heading" data-level=3 id=FontFaceSet-interface><span class=secno>3 </span><span class=content>

css-font-load-events/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,8 @@ <h3 id='font-face-css-connection'>
342342

343343
Otherwise, a <a interface>FontFace</a> object created by a CSS ''@font-face'' rule is identical to one created manually.
344344

345+
If a ''@font-face'' rule is removed from the document, its corresponding <a interface>FontFace</a> object is no longer <a>CSS-connected</a>. The connection is not restorable by any means (but adding the ''@font-face'' back to the stylesheet will create a brand new <a interface>FontFace</a> object which <em>is</em> <a>CSS-connected</a>).
346+
345347

346348

347349
<h2 id="FontFaceSet-interface">

0 commit comments

Comments
 (0)