gecko-dev/layout/reftests/font-loading-api/src-list-1.html

12 строки
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>