diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/font-face/src-list-local-ps.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/font-face/src-list-local-ps.html')
-rw-r--r-- | layout/reftests/font-face/src-list-local-ps.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/layout/reftests/font-face/src-list-local-ps.html b/layout/reftests/font-face/src-list-local-ps.html new file mode 100644 index 0000000000..4ca4335dee --- /dev/null +++ b/layout/reftests/font-face/src-list-local-ps.html @@ -0,0 +1,57 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>src local with postscript names</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + +<style type="text/css"> + +body { + margin: 50px; + font-size: 24pt; +} + +/* use full names */ + +@font-face { + font-family: test-regular; + src: local(HelveticaNeue), local(BitstreamVeraSans-Roman), local(FreeSans), + local(SwissA), local(DejaVuSans), local(ArialMT); +} + +/* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */ +@font-face { + font-family: test-bold; + src: local(HelveticaNeue-Bold), local(BitstreamVeraSans-Bold), + local(FreeSansBold), local(SwissA-Bold), local(DejaVuSans-Bold), + local(Arial-BoldMT); +} + +@font-face { + font-family: test-italic; + src: local(HelveticaNeue-Italic), local(BitstreamVeraSans-Oblique), + local(FreeSansOblique), local(SwissA-Italic), + local(DejaVuSans-Oblique), local(Arial-ItalicMT); +} + +.regular { font-family: test-regular, serif; } +.bold { font-family: test-bold, serif; } +.italic { font-family: test-italic, serif; } + +</style> + +<script type="text/javascript"> + +</script> + +</head> +<body> + +<p class="regular">This should be a sans-serif face</p> + +<p class="bold">This should be a bold sans-serif face</p> + +<p class="italic">This should be an italic sans-serif face</p> + +</body> +</html> |