1
0
Fork 0
firefox/testing/web-platform/tests/css/css-fonts/font-palette-empty-font-family-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

23 lines
629 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tests that an empty font family name is handled correctly</title>
<link rel="help" href="https://drafts.csswg.org/css-fonts/#font-family-2-desc">
<link rel="author" title="Myles C. Maxfield" href="mailto:mmaxfield@apple.com">
<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: 1;
}
</style>
</head>
<body>
<div style="font: 48px 'COLR-test-font'; font-palette: --MyPalette;">A</div>
</body>
</html>