File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 });
Original file line number Diff line number Diff 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 });
You can’t perform that action at this time.
0 commit comments