summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch
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 /testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch')
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201-ref.html38
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201.html39
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202-ref.html46
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202.html48
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203-ref.html28
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203.html29
6 files changed, 228 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201-ref.html
new file mode 100644
index 0000000000..94139fdb31
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201-ref.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-earthly-branch, 0-12</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
+<meta name="assert" content="list-style-type:cjk-earthly-branch produces numbers up to 12 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-earthly-branch; }
+/* the following CSS is not part of the test */
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, IGNORING the suffix.</p>
+<div class="test">
+<ol>
+<div><bdi dir=ltr>子、</bdi>子</div>
+<div><bdi dir=ltr>丑、</bdi>丑</div>
+<div><bdi dir=ltr>寅、</bdi>寅</div>
+<div><bdi dir=ltr>卯、</bdi>卯</div>
+<div><bdi dir=ltr>辰、</bdi>辰</div>
+<div><bdi dir=ltr>巳、</bdi>巳</div>
+<div><bdi dir=ltr>午、</bdi>午</div>
+<div><bdi dir=ltr>未、</bdi>未</div>
+<div><bdi dir=ltr>申、</bdi>申</div>
+<div><bdi dir=ltr>酉、</bdi>酉</div>
+<div><bdi dir=ltr>戌、</bdi>戌</div>
+<div><bdi dir=ltr>亥、</bdi>亥</div>
+</ol></div>
+<!--Notes:
+You will need an appropriate font to run this test.
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201.html b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201.html
new file mode 100644
index 0000000000..730a7f7eca
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-201.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-earthly-branch, 0-12</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
+<link rel='match' href='css3-counter-styles-201-ref.html'>
+<meta name="assert" content="list-style-type:cjk-earthly-branch produces numbers up to 12 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-earthly-branch; }
+/* the following CSS is not part of the test */
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; list-style-position: inside; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, IGNORING the suffix.</p>
+<div class="test">
+<ol>
+<li title="1">子</li>
+<li title="2">丑</li>
+<li title="3">寅</li>
+<li title="4">卯</li>
+<li title="5">辰</li>
+<li title="6">巳</li>
+<li title="7">午</li>
+<li title="8">未</li>
+<li title="9">申</li>
+<li title="10">酉</li>
+<li title="11">戌</li>
+<li title="12">亥</li>
+</ol></div>
+<!--Notes:
+You will need an appropriate font to run this test.
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202-ref.html
new file mode 100644
index 0000000000..1947b0c732
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202-ref.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-earthly-branch, 13+</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
+<meta name="assert" content="list-style-type: cjk-earthly-branch falls back to cjk-decimal after 12 per the spec.">
+<style type='text/css'>
+/* the following CSS is not part of the test */
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, IGNORING the suffix.</p>
+<div class='test'>
+<ol start="13"><div><bdi>一三、</bdi>一三</div></ol>
+<ol start="14"><div><bdi>一四、</bdi>一四</div></ol>
+<ol start="77"><div><bdi>七七、</bdi>七七</div></ol>
+<ol start="80"><div><bdi>八〇、</bdi>八〇</div></ol>
+<ol start="99"><div><bdi>九九、</bdi>九九</div></ol>
+<ol start="100"><div><bdi>一〇〇、</bdi>一〇〇</div></ol>
+<ol start="101"><div><bdi>一〇一、</bdi>一〇一</div></ol>
+<ol start="222"><div><bdi>二二二、</bdi>二二二</div></ol>
+<ol start="540"><div><bdi>五四〇、</bdi>五四〇</div></ol>
+<ol start="999"><div><bdi>九九九、</bdi>九九九</div></ol>
+<ol start="1000"><div><bdi>一〇〇〇、</bdi>一〇〇〇</div></ol>
+<ol start="1005"><div><bdi>一〇〇五、</bdi>一〇〇五</div></ol>
+<ol start="1060"><div><bdi>一〇六〇、</bdi>一〇六〇</div></ol>
+<ol start="1065"><div><bdi>一〇六五、</bdi>一〇六五</div></ol>
+<ol start="1800"><div><bdi>一八〇〇、</bdi>一八〇〇</div></ol>
+<ol start="1860"><div><bdi>一八六〇、</bdi>一八六〇</div></ol>
+<ol start="5865"><div><bdi>五八六五、</bdi>五八六五</div></ol>
+<ol start="7005"><div><bdi>七〇〇五、</bdi>七〇〇五</div></ol>
+<ol start="7800"><div><bdi>七八〇〇、</bdi>七八〇〇</div></ol>
+<ol start="7864"><div><bdi>七八六四、</bdi>七八六四</div></ol>
+<ol start="9999"><div><bdi>九九九九、</bdi>九九九九</div></ol>
+</div>
+<!--Notes:
+You will need an appropriate font to run this test.
+The test relies on the start attribute working.
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202.html b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202.html
new file mode 100644
index 0000000000..3bc22758dc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-202.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-earthly-branch, 13+</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
+<link rel='match' href='css3-counter-styles-202-ref.html'>
+<meta name="assert" content="list-style-type: cjk-earthly-branch fall back to cjk-decimal after 12 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-earthly-branch; }
+/* the following CSS is not part of the test */
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; list-style-position: inside;}
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, IGNORING the suffix.</p>
+<div class="test">
+<ol start="13"><li title="13">一三</li></ol>
+<ol start="14"><li title="14">一四</li></ol>
+<ol start="77"><li title="77">七七</li></ol>
+<ol start="80"><li title="80">八〇</li></ol>
+<ol start="99"><li title="99">九九</li></ol>
+<ol start="100"><li title="100">一〇〇</li></ol>
+<ol start="101"><li title="101">一〇一</li></ol>
+<ol start="222"><li title="222">二二二</li></ol>
+<ol start="540"><li title="540">五四〇</li></ol>
+<ol start="999"><li title="999">九九九</li></ol>
+<ol start="1000"><li title="1000">一〇〇〇</li></ol>
+<ol start="1005"><li title="1005">一〇〇五</li></ol>
+<ol start="1060"><li title="1060">一〇六〇</li></ol>
+<ol start="1065"><li title="1065">一〇六五</li></ol>
+<ol start="1800"><li title="1800">一八〇〇</li></ol>
+<ol start="1860"><li title="1860">一八六〇</li></ol>
+<ol start="5865"><li title="5865">五八六五</li></ol>
+<ol start="7005"><li title="7005">七〇〇五</li></ol>
+<ol start="7800"><li title="7800">七八〇〇</li></ol>
+<ol start="7864"><li title="7864">七八六四</li></ol>
+<ol start="9999"><li title="9999">九九九九</li></ol>
+</div>
+<!--Notes:
+You will need an appropriate font to run this test.
+The test relies on the start attribute working.
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203-ref.html
new file mode 100644
index 0000000000..d3d4cc4caf
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-earthly-branch, suffix</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
+<meta name="assert" content="list-style-type: cjk-earthly-branch produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-earthly-branch; }
+/* the following CSS is not part of the test */
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the numbers AND the suffix in each of the two columns is the same.</p>
+<div class='test'><ol>
+<div><bdi dir=ltr>子、</bdi>子、</div>
+<div><bdi dir=ltr>丑、</bdi>丑、</div>
+</ol>
+</div>
+<!--Notes:
+You will need an appropriate font to run this test.
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+</body>
+</html> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203.html b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203.html
new file mode 100644
index 0000000000..1b343bfcc2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-earthly-branch/css3-counter-styles-203.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-earthly-branch, suffix</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#simple-numeric'>
+<link rel='match' href='css3-counter-styles-203-ref.html'>
+<meta name="assert" content="list-style-type: cjk-earthly-branch produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-earthly-branch; }
+/* the following CSS is not part of the test */
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; list-style-position: inside; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the numbers AND the suffix in each of the two columns is the same.</p>
+<div class='test'><ol>
+<li title="1">子、</li>
+<li title="2">丑、</li>
+</ol>
+</div>
+<!--Notes:
+You will need an appropriate font to run this test.
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+</body>
+</html> \ No newline at end of file