1
0
Fork 0
firefox/layout/reftests/font-loading-api/ex-unit-1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

12 lines
439 B
HTML

<!DOCTYPE html>
<!-- modeled on ../font-face/ex-unit-1.html -->
<html class="reftest-wait">
<title>ex unit with Ahem font</title>
<style>
html { background: white; }
body { font-family: Ahhhem; font-size: 50px; height: 2ex; width: 2ex; background: blue; }
</style>
<script>
document.fonts.add(new FontFace("Ahhhem", "url(../fonts/Ahem.ttf)"));
document.fonts.ready.then(function() { document.documentElement.className = ""; });
</script>