summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-palette-36-ref.html
blob: a82be2072aea5e8e4622062e77e907bc11f455da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
@font-face {
    font-family: "COLR-test-font";
    src: url("resources/COLR-palettes-test-font.ttf") format("truetype");
}

@font-palette-values --MyPalette {
    font-family: "COLR-test-font";
    base-palette: 2;
}
</style>
</head>
<body>
<div style="font: 48px 'COLR-test-font'; font-palette: --MyPalette">A</div>
<div style="font: 48px 'COLR-test-font'; font-palette: --MyPalette">A</div>
<div style="font: 48px 'COLR-test-font'; font-palette: --MyPalette">A</div>
</body>
</html>