summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-face/colrv1-01.html
blob: 1ac9bc7ebba553de059aff3fac4b2fd45e32ec9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset=utf-8>
<title>COLRv1 font test: comparing against CSS representation</title>
<style>
@font-face { font-family: CAhem; src: url("CAhem.ttf"); }
#test { font: 100px/1 CAhem; margin: 10px; padding: 10px; }
</style>

<p>COLRv1 font rendering:</p>
<div id="test"></div>

<script>
test.textContent = window.location.hash.substr(1);
document.documentElement.classList = "";
</script>