summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-face/synthetic-weight-style-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/font-face/synthetic-weight-style-ref.html
parentInitial commit. (diff)
downloadfirefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.tar.xz
firefox-e51783d008170d9ab27d25da98ca3a38b0a41b67.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/font-face/synthetic-weight-style-ref.html')
-rw-r--r--layout/reftests/font-face/synthetic-weight-style-ref.html120
1 files changed, 120 insertions, 0 deletions
diff --git a/layout/reftests/font-face/synthetic-weight-style-ref.html b/layout/reftests/font-face/synthetic-weight-style-ref.html
new file mode 100644
index 0000000000..af44b593f2
--- /dev/null
+++ b/layout/reftests/font-face/synthetic-weight-style-ref.html
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>@font-face and synthetic rendering</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+<style type="text/css">
+
+@import url(../fonts/mplus/mplusfonts.css);
+
+body {
+ margin: 50px;
+ font-family: mplus1p, Futura, sans-serif;
+ font-size: 18pt;
+}
+
+table {
+ border-collapse: collapse;
+ margin-left: 1em;
+}
+
+td + td {
+ padding-left: 1em;
+}
+
+</style>
+
+
+</head>
+
+<body>
+
+<h4>Text below should appear in normal face with no synthetic bolding/italics</h4>
+
+<table>
+<tr>
+<td>100</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>200</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>300</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>400</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>500</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>600</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>700</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>800</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+<tr>
+<td>900</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+<td>Regular</td>
+<td>Italic</td>
+<td>Oblique</td>
+</tr>
+</table>
+
+</body>
+</html> \ No newline at end of file