summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-features/annotations-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/font-features/annotations-ref.html
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.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-features/annotations-ref.html')
-rw-r--r--layout/reftests/font-features/annotations-ref.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/layout/reftests/font-features/annotations-ref.html b/layout/reftests/font-features/annotations-ref.html
new file mode 100644
index 0000000000..a21ea28fc5
--- /dev/null
+++ b/layout/reftests/font-features/annotations-ref.html
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Annotations test</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+<style type="text/css">
+
+body {
+ margin: 20px;
+ font-size: 800%;
+ font-family: Hiragino Maru Gothic ProN, Meiryo;
+}
+
+/* for platforms without these fonts the default glyphs will show */
+
+@font-face {
+ font-family: testMeiryo-circled;
+ src: local(Meiryo);
+ font-feature-settings: "nalt" 4;
+}
+
+@font-face {
+ font-family: testMeiryo-black-circled;
+ src: local(Meiryo);
+ font-feature-settings: "nalt" 5;
+}
+
+@font-face {
+ font-family: testMeiryo-rounded-box;
+ src: local(Meiryo);
+ font-feature-settings: "nalt" 9;
+}
+
+@font-face {
+ font-family: testHiraginoMaru-circled;
+ src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
+ font-feature-settings: "nalt" 1;
+}
+
+@font-face {
+ font-family: testHiraginoMaru-black-circled;
+ src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
+ font-feature-settings: "nalt" 4;
+}
+
+@font-face {
+ font-family: testHiraginoMaru-rounded-box;
+ src: local(HiraMaruProN-W4), local(Hiragino Maru Gothic ProN W4);
+ font-feature-settings: "nalt" 10;
+}
+
+#test1 {
+ font-family: testHiraginoMaru-circled, testMeiryo-circled;
+}
+
+#test2 {
+ font-family: testHiraginoMaru-black-circled, testMeiryo-black-circled;
+}
+
+#test3 {
+ font-family: testHiraginoMaru-rounded-box, testMeiryo-rounded-box;
+}
+
+</style>
+
+</head>
+<body>
+<div><span id="test1">1</span> <span id="test2">2</span> <span id="test3">3</span></div>
+</body>
+</html> \ No newline at end of file