dynamic-insert-1.html (357B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <style> 4 body { font-family: One; } 5 </style> 6 <script> 7 window.addEventListener("MozReftestInvalidate", function() { 8 var face = new FontFace("One", "url(../fonts/markA.ttf)"); 9 face.load().then(function() { 10 document.fonts.add(face); 11 document.documentElement.className = ""; 12 }); 13 }); 14 </script> 15 <p>ABC</p>