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-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/font-face/synthetic-weight-style-ref.html
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
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