summaryrefslogtreecommitdiff
path: root/layout/reftests/font-loading-api/order-1.html
blob: 3555be0cc91ae1a3c1b971d9ca7ab41af96c2cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!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>