Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-fonts/font-palette-non-ident-font-family.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tests that a non-ident font family name is handled correctly</title>
<link rel="author" title="Matthieu Dubet" href="mailto:m_dubet@apple.com">
<link rel="match" href="font-palette-non-ident-font-family-ref.html">
<style>
@font-face {
font-family: "foo bar";
src: url("resources/COLR-palettes-test-font.ttf") format("truetype");
}
@font-palette-values --MyPalette {
font-family: "foo bar";
base-palette: 1;
}
</style>
</head>
<body>
<div style="font: 48px 'foo bar'; font-palette: --MyPalette;">A</div>
</body>
</html>