Skip to content

Commit 01bc464

Browse files
committed
[css-font-loading] typo
--HG-- extra : rebase_source : 545137e9f68bb71b781e83df98e54b22bcfc0978
1 parent 693543d commit 01bc464

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

css-font-loading/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ API Examples</h2>
713713
To show content only after all font loads complete:
714714

715715
<pre>
716-
document.FontFaceSet.ready().then(function() {
716+
document.fonts.ready().then(function() {
717717
var content = document.getElementById("content");
718718
content.style.visibility = "visible";
719719
});

css-font-loading/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ <h2 class="heading settled heading" data-level=5 id=font-load-event-examples><sp
803803
<div class=example>
804804
To show content only after all font loads complete:
805805

806-
<pre> document.FontFaceSet.ready().then(function() {
806+
<pre> document.fonts.ready().then(function() {
807807
var content = document.getElementById("content");
808808
content.style.visibility = "visible";
809809
});

0 commit comments

Comments
 (0)