gecko/layout/reftests/font-loading-api/order-1.html
2014-10-02 12:32:10 +10:00

13 lines
387 B
HTML

<!DOCTYPE html>
<!-- modeled on ../font-face/order-1.html -->
<html class="reftest-wait">
<style>
body { font-family: "One"; }
</style>
<script>
document.fonts.add(new FontFace("One", "url(../fonts/mark2A.ttf)"));
document.fonts.add(new FontFace("One", "url(../fonts/markA.ttf)"));
document.fonts.ready.then(function() { document.documentElement.className = ""; });
</script>
<p>ABC</p>