diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-counter-styles/cjk-decimal | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.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-counter-styles/cjk-decimal')
6 files changed, 229 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-001-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-001-ref.html new file mode 100644 index 0000000000..dc7231ec55 --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-001-ref.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html lang="en" > +<head> +<meta charset="utf-8"/> +<title>cjk-decimal, 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="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> +<meta name="assert" content="list-style-type: cjk-decimal produces numbers up to 9 items per the spec."> +<style type='text/css'> +ol li { list-style-type: cjk-decimal; } +/* 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>一、</bdi>一</div> +<div><bdi>二、</bdi>二</div> +<div><bdi>三、</bdi>三</div> +<div><bdi>四、</bdi>四</div> +<div><bdi>五、</bdi>五</div> +<div><bdi>六、</bdi>六</div> +<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/cjk-decimal/css3-counter-styles-001.html b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-001.html new file mode 100644 index 0000000000..e5be28f736 --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-001.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html lang="en" > +<head> +<meta charset="utf-8"/> +<title>cjk-decimal, 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="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> +<link rel='match' href='css3-counter-styles-001-ref.html'> +<meta name="assert" content="list-style-type: cjk-decimal produces numbers up to 9 items per the spec."> +<style type='text/css'> +ol li { list-style-type: cjk-decimal; } +/* 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> +</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/cjk-decimal/css3-counter-styles-004-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-004-ref.html new file mode 100644 index 0000000000..c9d600bca0 --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-004-ref.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<html lang="en" > +<head> +<meta charset="utf-8"/> +<title>cjk-decimal, 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="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> +<meta name="assert" content="list-style-type: cjk-decimal produces numbers after 9 items per the spec."> +<style type='text/css'> +ol li { list-style-type: cjk-decimal; } +/* 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="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="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. +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/cjk-decimal/css3-counter-styles-004.html b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-004.html new file mode 100644 index 0000000000..921c4ace80 --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-004.html @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<html lang="en" > +<head> +<meta charset="utf-8"/> +<title>cjk-decimal, 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="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> +<link rel='match' href='css3-counter-styles-004-ref.html'> +<meta name="assert" content="list-style-type: cjk-decimal produces numbers after 9 items per the spec."> +<style type='text/css'> +ol li { list-style-type: cjk-decimal; } +/* 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="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="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. +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/cjk-decimal/css3-counter-styles-005-ref.html b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-005-ref.html new file mode 100644 index 0000000000..df2f9ec01c --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-005-ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="en" > +<head> +<meta charset="utf-8"/> +<title>cjk-decimal, 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="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> +<meta name="assert" content="list-style-type: cjk-decimal will produce a suffix as described in the CSS3 Counter Styles module."> +<style type='text/css'> +ol li { list-style-type: cjk-decimal; } +/* 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>一、</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/cjk-decimal/css3-counter-styles-005.html b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-005.html new file mode 100644 index 0000000000..c059d354f2 --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/cjk-decimal/css3-counter-styles-005.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html lang="en" > +<head> +<meta charset="utf-8"/> +<title>cjk-decimal, 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="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> +<link rel='match' href='css3-counter-styles-005-ref.html'> +<meta name="assert" content="list-style-type: cjk-decimal will produce a suffix as described in the CSS3 Counter Styles module."> +<style type='text/css'> +ol li { list-style-type: cjk-decimal; } +/* 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> |