diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/font-face/src-list-local-full-quotes.html | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/font-face/src-list-local-full-quotes.html')
-rw-r--r-- | layout/reftests/font-face/src-list-local-full-quotes.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/layout/reftests/font-face/src-list-local-full-quotes.html b/layout/reftests/font-face/src-list-local-full-quotes.html new file mode 100644 index 0000000000..c63e6f4019 --- /dev/null +++ b/layout/reftests/font-face/src-list-local-full-quotes.html @@ -0,0 +1,52 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>src local with full 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("Helvetica Neue"), local("Bitstream Vera Sans"), local("Bitstream Vera Sans Roman"), local("DejaVu Sans"), local("FreeSans"), local("Free Sans"), local("SwissA"), local("Arial"); +} + +/* use Helvetica on the Mac, since Futura has no bold face on 10.4, 10.5 */ +@font-face { + font-family: test-bold; + src: local("Helvetica Neue Bold"), local("Bitstream Vera Sans Bold"), local("DejaVu Sans Bold"), local("FreeSans Bold"), local("Free Sans Bold"), local("SwissA Bold"), local("Arial Bold"); +} + +@font-face { + font-family: test-italic; + src: local("Helvetica Neue Italic"), local("Bitstream Vera Sans Oblique"), local("DejaVu Sans Oblique"), local("FreeSans Oblique"), local("Free Sans Oblique"), local("SwissA Italic"), local("Arial Italic"); +} + +.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> |