summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/first-available-font-001-ref.html
blob: 0acbd338e0ce9f558d2eaa2e48ad4be0524fb0ae (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: 1ex;
  height: 1ex;

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

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

<div></div>