summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/writing-system/reference
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-text/writing-system/reference
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-text/writing-system/reference')
-rw-r--r--testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-font-001-ref.html20
-rw-r--r--testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-001-ref.html19
-rw-r--r--testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-002-ref.html11
-rw-r--r--testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-segment-break-001-ref.html10
-rw-r--r--testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-text-transform-001-ref.html13
5 files changed, 73 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-font-001-ref.html b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-font-001-ref.html
new file mode 100644
index 0000000000..f0bd7fe262
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-font-001-ref.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html lang=en>
+<meta charset=utf-8>
+<title>CSS test reference</title>
+<link rel=author title="Ambrose Li" href="http://port.ambroseli.ca/">
+<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
+
+<p>The test passes if the word pairs below are all displayed in the same font.
+
+<table>
+ <tr>
+ <td>ping4 on1
+ <td>salaam
+ <td>shalom
+ <tr>
+ <td>ping4 on1
+ <td>salaam
+ <td>shalom
+</table>
+
diff --git a/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-001-ref.html b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-001-ref.html
new file mode 100644
index 0000000000..3aa1c84ab6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-001-ref.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html lang=en>
+<meta charset=utf-8>
+<title>CSS test reference</title>
+<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
+<style>
+div {
+ font-family: monospace;
+ width: 2em;
+}
+[lang=ja] { border: solid blue; }
+[lang=ja-Hang] { border: solid orange; }
+</style>
+
+<p>The test passes if the second line in the blue box below <em>starts with</em> a “〜”,
+and if the second line in the orange box below <em>ends with</em> a “〜”.
+
+<div lang=ja>東京<br>〜大<br>阪</div>
+<div lang=ja-Hang>도<br>쿄〜<br>오사<br>카</div>
diff --git a/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-002-ref.html b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-002-ref.html
new file mode 100644
index 0000000000..2855797d35
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-line-break-002-ref.html
@@ -0,0 +1,11 @@
+<!doctype html>
+<html lang=en>
+<meta charset=utf-8>
+<title>CSS test reference</title>
+<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
+<style>
+</style>
+
+<p>The test passes if the question mark in the phrase below is alone on the second line.
+
+<div lang=en-Hrkt>ハロー、ハウアーユー<br>?</div>
diff --git a/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-segment-break-001-ref.html b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-segment-break-001-ref.html
new file mode 100644
index 0000000000..f451a74a51
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-segment-break-001-ref.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<html lang=en>
+<meta charset=utf-8>
+<title>CSS test reference</title>
+<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
+
+<p>The test passes if the both lines are identical, including the spacing of the characters.
+
+<div lang=ain-Kana>“アイヌイタㇰ”</div>
+<div lang=ain-Kana>“アイヌイタㇰ”</div>
diff --git a/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-text-transform-001-ref.html b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-text-transform-001-ref.html
new file mode 100644
index 0000000000..9b50fb1331
--- /dev/null
+++ b/testing/web-platform/tests/css/css-text/writing-system/reference/writing-system-text-transform-001-ref.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html lang=en>
+<meta charset=utf-8>
+<title>CSS test reference</title>
+<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
+<style>
+div {
+ font-size: 3em;
+}
+</style>
+<p>Test passes if the two words below are identical: there must be a dot on the “i” letter at the beginning of the word.
+<div lang=tr-Cyrl>iстанбул</div>
+<div lang=tr-Cyrl>iстанбул</div>