summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal
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/trad-chinese-formal
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/trad-chinese-formal')
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal-ref.html36
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal.html43
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086-ref.html41
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086.html42
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087-ref.html55
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087.html56
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-alt-ref.html27
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-ref.html28
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088.html30
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089-ref.html31
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089.html32
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090-ref.html32
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090.html33
13 files changed, 486 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal-ref.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal-ref.html
new file mode 100644
index 0000000000..8437f83142
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<div>&#x96f6;</div>
+<div>&#x58f9;</div>
+<div>&#x8cb3;</div>
+<div>&#x53c3;</div>
+<div>&#x8086;</div>
+<div>&#x4f0d;</div>
+<div>&#x9678;</div>
+<div>&#x67d2;</div>
+<div>&#x634c;</div>
+<div>&#x7396;</div>
+
+<div>&#x58f9;&#x62fe;</div>
+<div>&#x58f9;&#x4f70;</div>
+<div>&#x58f9;&#x4edf;</div>
+<div>&#x58f9;&#x842c;</div>
+<div>&#x58f9;&#x62fe;&#x842c;</div>
+<div>&#x58f9;&#x4f70;&#x842c;</div>
+<div>&#x58f9;&#x4edf;&#x842c;</div>
+<div>&#x58f9;&#x5104;</div>
+<div>&#x58f9;&#x62fe;&#x5104;</div>
+
+<div>&#x58f9;&#x62fe;&#x58f9;</div>
+<div>&#x7396;&#x62fe;&#x7396;</div>
+<div>&#x58f9;&#x4f70;&#x96f6;&#x58f9;</div>
+<div>&#x8cb3;&#x4f70;</div>
+<div>&#x9678;&#x4edf;&#x96f6;&#x58f9;</div>
+<div>&#x58f9;&#x842c;&#x96f6;&#x58f9;</div>
+<div>&#x58f9;&#x842c;&#x96f6;&#x58f9;&#x62fe;&#x58f9;</div>
+<div>&#x58f9;&#x842c;&#x96f6;&#x58f9;&#x4f70;&#x96f6;&#x58f9;</div>
+<div>&#x58f9;&#x842c;&#x58f9;&#x4edf;&#x58f9;&#x4f70;&#x58f9;&#x62fe;&#x58f9;</div>
+<div>&#x58f9;&#x4edf;&#x58f9;&#x4f70;&#x842c;</div>
+<div>&#x58f9;&#x5104;&#x96f6;&#x58f9;&#x842c;&#x96f6;&#x58f9;</div>
+<div>&#x58f9;&#x5104;&#x96f6;&#x58f9;&#x62fe;&#x58f9;&#x842c;&#x96f6;&#x58f9;</div>
+
+<div>&#x8ca0;&#x58f9;</div>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal.html
new file mode 100644
index 0000000000..4829d3da42
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/counter-trad-chinese-formal.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles/#limited-chinese">
+<link rel="match" href="counter-trad-chinese-formal-ref.html">
+<style>
+ div::after {
+ content: counter(n, trad-chinese-formal);
+ }
+</style>
+<div style="counter-reset: n 0;"></div>
+<div style="counter-reset: n 1;"></div>
+<div style="counter-reset: n 2;"></div>
+<div style="counter-reset: n 3;"></div>
+<div style="counter-reset: n 4;"></div>
+<div style="counter-reset: n 5;"></div>
+<div style="counter-reset: n 6;"></div>
+<div style="counter-reset: n 7;"></div>
+<div style="counter-reset: n 8;"></div>
+<div style="counter-reset: n 9;"></div>
+
+<div style="counter-reset: n 10;"></div>
+<div style="counter-reset: n 100;"></div>
+<div style="counter-reset: n 1000;"></div>
+<div style="counter-reset: n 10000;"></div>
+<div style="counter-reset: n 100000;"></div>
+<div style="counter-reset: n 1000000;"></div>
+<div style="counter-reset: n 10000000;"></div>
+<div style="counter-reset: n 100000000;"></div>
+<div style="counter-reset: n 1000000000;"></div>
+
+<div style="counter-reset: n 11;"></div>
+<div style="counter-reset: n 99;"></div>
+<div style="counter-reset: n 101;"></div>
+<div style="counter-reset: n 200;"></div>
+<div style="counter-reset: n 6001;"></div>
+<div style="counter-reset: n 10001;"></div>
+<div style="counter-reset: n 10011;"></div>
+<div style="counter-reset: n 10101;"></div>
+<div style="counter-reset: n 11111;"></div>
+<div style="counter-reset: n 11000000;"></div>
+<div style="counter-reset: n 100010001;"></div>
+<div style="counter-reset: n 100110001;"></div>
+
+<div style="counter-reset: n -1;"></div>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086-ref.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086-ref.html
new file mode 100644
index 0000000000..510800cd1c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086-ref.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, 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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<meta name="assert" content="Setting list-style-type to trad-chinese-formal will produce list of up to 9 items numbering as described in the CSS3 Counter Styles module.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: trad-chinese-formal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, ignoring the suffix.</p>
+
+
+<div class="test"><ol start='0'><div><bdi>零、</bdi>零、</div></ol>
+<ol start='1'><div><bdi>壹、</bdi>壹、</div></ol>
+<ol start='2'><div><bdi>貳、</bdi>貳、</div></ol>
+<ol start='3'><div><bdi>參、</bdi>參、</div></ol>
+<ol start='4'><div><bdi>肆、</bdi>肆、</div></ol>
+<ol start='5'><div><bdi>伍、</bdi>伍、</div></ol>
+<ol start='6'><div><bdi>陸、</bdi>陸、</div></ol>
+<ol start='7'><div><bdi>柒、</bdi>柒、</div></ol>
+<ol start='8'><div><bdi>捌、</bdi>捌、</div></ol>
+<ol start='9'><div><bdi>玖、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086.html
new file mode 100644
index 0000000000..3acb5ad2d7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-086.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, 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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<link rel='match' href='css3-counter-styles-086-ref.html'>
+<meta name="assert" content="Setting list-style-type to trad-chinese-formal will produce list of up to 9 items numbering as described in the CSS3 Counter Styles module.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol { list-style-type: trad-chinese-formal; 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='0'><li title='0'>零、</li></ol>
+<ol start='1'><li title='1'>壹、</li></ol>
+<ol start='2'><li title='2'>貳、</li></ol>
+<ol start='3'><li title='3'>參、</li></ol>
+<ol start='4'><li title='4'>肆、</li></ol>
+<ol start='5'><li title='5'>伍、</li></ol>
+<ol start='6'><li title='6'>陸、</li></ol>
+<ol start='7'><li title='7'>柒、</li></ol>
+<ol start='8'><li title='8'>捌、</li></ol>
+<ol start='9'><li title='9'>玖、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087-ref.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087-ref.html
new file mode 100644
index 0000000000..9805d6e9b9
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087-ref.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, 10-9999</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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<meta name="assert" content="Setting list-style-type to trad-chinese-formal will produce list numbering after 9 as described in the CSS3 Counter Styles module.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: trad-chinese-formal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, ignoring the suffix.</p>
+
+
+<div class="test"><ol start='10'><div><bdi>壹拾、</bdi>壹拾、</div></ol>
+<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='1865'><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='7865'><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.
+
+To see the ASCII decimal number associated with a row, mouse over it and the number will pop up in a tooltip.
+-->
+
+
+</body>
+</html>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087.html
new file mode 100644
index 0000000000..cd70ee34d5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-087.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, 10-9999</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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<link rel='match' href='css3-counter-styles-087-ref.html'>
+<meta name="assert" content="Setting list-style-type to trad-chinese-formal will produce list numbering after 9 as described in the CSS3 Counter Styles module.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol { list-style-type: trad-chinese-formal; 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='10'><li title='10'>壹拾、</li></ol>
+<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='1865'><li title='1865'>壹仟捌佰陸拾伍、</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='7865'><li title='7865'>柒仟捌佰陸拾伍、</li></ol>
+<ol start='9999'><li title='9999'>玖仟玖佰玖拾玖、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-alt-ref.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-alt-ref.html
new file mode 100644
index 0000000000..33815e06c7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-alt-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<title>trad-chinese-formal, outside range</title>
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<link rel='help' href='http://www.w3.org/TR/css-counter-styles-3/#complex-cjk'>
+<link rel='help' href='https://bugzilla.mozilla.org/show_bug.cgi?id=1738356'>
+<style>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: trad-chinese-formal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test fails if the two columns of the first line are NOT the same. Otherwise, test passes only if the left column of the 2nd and 3rd lines is NOT decimal digits and is NOT the same as the right side. Score as Partial if the columns of the 2nd and 3rd lines are the same (ie. fallback was used). In all this IGNORE the suffix.</p>
+<div class="test"><ol start="9999">
+<div><bdi>玖仟玖佰玖拾玖、</bdi>玖仟玖佰玖拾玖</div>
+<div><bdi>壹萬、</bdi>一〇〇〇〇</div>
+<div><bdi>壹萬零壹、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-ref.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-ref.html
new file mode 100644
index 0000000000..602204334e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, outside range</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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<meta name="assert" content="[Exploratory] list-style-type: trad-chinese-formal produces counter values outside its range without using the prescribed fallback style.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: trad-chinese-formal; }
+</style>
+</head>
+<body>
+<p class="instructions">Test fails if the two columns of the first line are NOT the same. Otherwise, test passes only if the left column of the 2nd and 3rd lines is NOT decimal digits and is NOT the same as the right side. Score as Partial if the columns of the 2nd and 3rd lines are the same (ie. fallback was used). In all this IGNORE the suffix.</p>
+<div class="test"><ol start="9999">
+<div><bdi>玖仟玖佰玖拾玖、</bdi>玖仟玖佰玖拾玖</div>
+<div><bdi>一〇〇〇〇、</bdi>一〇〇〇〇</div>
+<div><bdi>一〇〇〇一、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088.html
new file mode 100644
index 0000000000..9eeee25795
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-088.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<title>trad-chinese-formal, outside range</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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
+<link rel='match' href='css3-counter-styles-088-ref.html'>
+<link rel='match' href='css3-counter-styles-088-alt-ref.html'><!-- Gecko prefers this rendering over the fallback rendering -->
+<meta name="assert" content="[Exploratory] list-style-type: trad-chinese-formal produces counter values outside its range without using the prescribed fallback style.">
+<style>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol { list-style-type: trad-chinese-formal; list-style-position: inside; }
+</style>
+</head>
+<body>
+<p class="instructions">Test fails if the two columns of the first line are NOT the same. Otherwise, test passes only if the left column of the 2nd and 3rd lines is NOT decimal digits and is NOT the same as the right side. Score as Partial if the columns of the 2nd and 3rd lines are the same (ie. fallback was used). In all this IGNORE the suffix.</p>
+<div class="test"><ol start="9999">
+<li title="9999">玖仟玖佰玖拾玖</li>
+<li title="10000">一〇〇〇〇</li>
+<li title="10001">一〇〇〇一</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089-ref.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089-ref.html
new file mode 100644
index 0000000000..87907f7357
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089-ref.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, negative</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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<meta name="assert" content="With list-style-type set to trad-chinese-formal, negative list markers will be rendered according to the rules described.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: trad-chinese-formal; }
+</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><div><bdi>負壹拾、</bdi>負壹拾、</div><div><bdi>負玖、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089.html
new file mode 100644
index 0000000000..ec96c7dfc5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-089.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, negative</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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<link rel='match' href='css3-counter-styles-089-ref.html'>
+<meta name="assert" content="With list-style-type set to trad-chinese-formal, negative list markers will be rendered according to the rules described.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol { list-style-type: trad-chinese-formal; 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><li title="-10">負壹拾、</li><li title="-9">負玖、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090-ref.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090-ref.html
new file mode 100644
index 0000000000..b488913f4e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090-ref.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, 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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<meta name="assert" content="Setting list-style-type to trad-chinese-formal will produce a suffix as described in the CSS3 Counter Styles module.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: trad-chinese-formal; }
+</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 start='1'><div><bdi>壹、</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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090.html b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090.html
new file mode 100644
index 0000000000..2153679bcb
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/trad-chinese-formal/css3-counter-styles-090.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>trad-chinese-formal, 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/#complex-cjk'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<link rel='match' href='css3-counter-styles-090-ref.html'>
+<meta name="assert" content="Setting list-style-type to trad-chinese-formal will produce a suffix as described in the CSS3 Counter Styles module.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol { list-style-type: trad-chinese-formal; 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 start='1'><li title='1'>壹、</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>