1
0
Fork 0
firefox/testing/web-platform/tests/css/css-fonts/font-face-local-not-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

19 lines
528 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>@font-face src:local() reference</title>
<style>
@font-face {
/* Load the regular face of Arial, or if not present, harmlessly fall back to Ahem
(but the test will then be pointless). */
font-family: "LocalArial";
src: local("Arial"),
local("ArialMT"),
local(Ahem),
url(/fonts/Ahem.ttf);
}
</style>
<p style="font: 24px LocalArial">These two lines should look the same</p>
<p style="font: 24px LocalArial">These two lines should look the same</p>