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

12 lines
345 B
HTML

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