summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem
diff options
context:
space:
mode:
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.html48
-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, 227 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..7d8e6fb613
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/cjk-heavenly-stem/css3-counter-styles-205-ref.html
@@ -0,0 +1,48 @@
+<!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 produces numbers after 9 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 start="11"><div><bdi dir=ltr>甲甲、</bdi>甲甲</div></ol>
+<ol start="12"><div><bdi dir=ltr>甲乙、</bdi>甲乙</div></ol>
+<ol start="43"><div><bdi dir=ltr>丁丙、</bdi>丁丙</div></ol>
+<ol start="77"><div><bdi dir=ltr>庚庚、</bdi>庚庚</div></ol>
+<ol start="80"><div><bdi dir=ltr>庚癸、</bdi>庚癸</div></ol>
+<ol start="99"><div><bdi dir=ltr>壬壬、</bdi>壬壬</div></ol>
+<ol start="100"><div><bdi dir=ltr>壬癸、</bdi>壬癸</div></ol>
+<ol start="101"><div><bdi dir=ltr>癸甲、</bdi>癸甲</div></ol>
+<ol start="222"><div><bdi dir=ltr>乙乙乙、</bdi>乙乙乙</div></ol>
+<ol start="540"><div><bdi dir=ltr>戊丙癸、</bdi>戊丙癸</div></ol>
+<ol start="999"><div><bdi dir=ltr>壬壬壬、</bdi>壬壬壬</div></ol>
+<ol start="1000"><div><bdi dir=ltr>壬壬癸、</bdi>壬壬癸</div></ol>
+<ol start="1005"><div><bdi dir=ltr>壬癸戊、</bdi>壬癸戊</div></ol>
+<ol start="1060"><div><bdi dir=ltr>癸戊癸、</bdi>癸戊癸</div></ol>
+<ol start="1065"><div><bdi dir=ltr>癸己戊、</bdi>癸己戊</div></ol>
+<ol start="1800"><div><bdi dir=ltr>甲庚壬癸、</bdi>甲庚壬癸</div></ol>
+<ol start="1860"><div><bdi dir=ltr>甲辛戊癸、</bdi>甲辛戊癸</div></ol>
+<ol start="5865"><div><bdi dir=ltr>戊辛己戊、</bdi>戊辛己戊</div></ol>
+<ol start="7005"><div><bdi dir=ltr>己壬癸戊、</bdi>己壬癸戊</div></ol>
+<ol start="7800"><div><bdi dir=ltr>庚庚壬癸、</bdi>庚庚壬癸</div></ol>
+<ol start="7864"><div><bdi dir=ltr>庚辛己丁、</bdi>庚辛己丁</div></ol>
+<ol start="9999"><div><bdi dir=ltr>壬壬壬壬、</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..fdd74e837d
--- /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 produces numbers after 9 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