summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-face/src-list-local-full.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/font-face/src-list-local-full.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/font-face/src-list-local-full.html')
-rw-r--r--layout/reftests/font-face/src-list-local-full.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/layout/reftests/font-face/src-list-local-full.html b/layout/reftests/font-face/src-list-local-full.html
new file mode 100644
index 000000000..c4aafdfa1
--- /dev/null
+++ b/layout/reftests/font-face/src-list-local-full.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>