summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/first-available-font-002-ref.html
blob: ff9464b909f26e70566bb54182c73c0e9872a61c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS-fonts: reference file</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
@font-face {
  font-family: 'B';
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/AD.woff) format('woff');
}

div {
  width: 1ch;
  height: 1ch;

  font-size: 200px;
  background: blue;
  font-family: 'B';
}
</style>

<p>Test passes if there is <strong>a blue square</strong> below.

<div></div>