summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem
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-heavenly-stem
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-heavenly-stem')
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204-ref.html36
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204.html37
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205-ref.html47
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205.html49
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-206-ref.html28
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-206.html29
6 files changed, 226 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204-ref.html
new file mode 100644
index 0000000000..f91e13e629
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-heavenly-stem, 0-9</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-heavenly-stem produces numbers up to 12 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-heavenly-stem; }
+/* 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>
+</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-heavenly-stem/css3-counter-styles-204.html b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204.html
new file mode 100644
index 0000000000..6ba9000d07
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-204.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-heavenly-stem, 0-9</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-204-ref.html'>
+<meta name="assert" content="list-style-type:cjk-heavenly-stem produces numbers up to 12 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-heavenly-stem; }
+/* 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>
+</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-heavenly-stem/css3-counter-styles-205-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205-ref.html
new file mode 100644
index 0000000000..b05f06c42b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205-ref.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-heavenly-stem, 10+</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-heavenly-stem falls back to cjk-decimal after 10 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="11"><div><bdi>一一、</bdi>一一</div></ol>
+<ol start="12"><div><bdi>一二、</bdi>一二</div></ol>
+<ol start="43"><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-heavenly-stem/css3-counter-styles-205.html b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205.html
new file mode 100644
index 0000000000..8c0f67dc1a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-heavenly-stem, 10+</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-205-ref.html'>
+<meta name="assert" content="list-style-type: cjk-heavenly-stem falls back to cjk-decimal after 10 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-heavenly-stem; }
+/* 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="11"><li title="11">一一</li></ol>
+<ol start="12"><li title="12">一二</li></ol>
+<ol start="43"><li title="43">四三</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-heavenly-stem/css3-counter-styles-206-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-206-ref.html
new file mode 100644
index 0000000000..7c490e2f6c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-206-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-heavenly-stem, 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-heavenly-stem produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-heavenly-stem; }
+/* 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-heavenly-stem/css3-counter-styles-206.html b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-206.html
new file mode 100644
index 0000000000..9c7a4a0d2b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-206.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>cjk-heavenly-stem, 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-206-ref.html'>
+<meta name="assert" content="list-style-type: cjk-heavenly-stem produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: cjk-heavenly-stem; }
+/* 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