summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/upper-roman
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-counter-styles/upper-roman
parentInitial commit. (diff)
downloadfirefox-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/upper-roman')
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-023-ref.html35
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-023.html36
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024-ref.html48
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024.html49
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024a-ref.html36
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024a.html37
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-025-ref.html30
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-025.html31
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-026-ref.html28
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-026.html29
10 files changed, 359 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-023-ref.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-023-ref.html
new file mode 100644
index 0000000000..63b6f99257
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-023-ref.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 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: upper-roman produces numbers up to 9 items per the spec.">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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>I. </bdi>I</div>
+<div><bdi>II. </bdi>II</div>
+<div><bdi>III. </bdi>III</div>
+<div><bdi>IV. </bdi>IV</div>
+<div><bdi>V. </bdi>V</div>
+<div><bdi>VI. </bdi>VI</div>
+<div><bdi>VII. </bdi>VII</div>
+<div><bdi>VIII. </bdi>VIII</div>
+<div><bdi>IX. </bdi>IX</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/upper-roman/css3-counter-styles-023.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-023.html
new file mode 100644
index 0000000000..cab6d4694f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-023.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 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-023-ref.html'>
+<meta name="assert" content="list-style: upper-roman produces numbers up to 9 items per the spec.">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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">I</li>
+<li title="2">II</li>
+<li title="3">III</li>
+<li title="4">IV</li>
+<li title="5">V</li>
+<li title="6">VI</li>
+<li title="7">VII</li>
+<li title="8">VIII</li>
+<li title="9">IX</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/upper-roman/css3-counter-styles-024-ref.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024-ref.html
new file mode 100644
index 0000000000..71f63f99ea
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024-ref.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 10-3999</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: upper-roman produces numbers after 9 items per the spec.">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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>X. </bdi>X</div></ol>
+<ol start='11'><div><bdi>XI. </bdi>XI</div></ol>
+<ol start='12'><div><bdi>XII. </bdi>XII</div></ol>
+<ol start='43'><div><bdi>XLIII. </bdi>XLIII</div></ol>
+<ol start='77'><div><bdi>LXXVII. </bdi>LXXVII</div></ol>
+<ol start='80'><div><bdi>LXXX. </bdi>LXXX</div></ol>
+<ol start='99'><div><bdi>XCIX. </bdi>XCIX</div></ol>
+<ol start='100'><div><bdi>C. </bdi>C</div></ol>
+<ol start='101'><div><bdi>CI. </bdi>CI</div></ol>
+<ol start='222'><div><bdi>CCXXII. </bdi>CCXXII</div></ol>
+<ol start='540'><div><bdi>DXL. </bdi>DXL</div></ol>
+<ol start='999'><div><bdi>CMXCIX. </bdi>CMXCIX</div></ol>
+<ol start='1000'><div><bdi>M. </bdi>M</div></ol>
+<ol start='1005'><div><bdi>MV. </bdi>MV</div></ol>
+<ol start='1060'><div><bdi>MLX. </bdi>MLX</div></ol>
+<ol start='1065'><div><bdi>MLXV. </bdi>MLXV</div></ol>
+<ol start='1800'><div><bdi>MDCCC. </bdi>MDCCC</div></ol>
+<ol start='1860'><div><bdi>MDCCCLX. </bdi>MDCCCLX</div></ol>
+<ol start='1865'><div><bdi>MDCCCLXV. </bdi>MDCCCLXV</div></ol>
+<ol start='2555'><div><bdi>MMDLV. </bdi>MMDLV</div></ol>
+<ol start='3000'><div><bdi>MMM. </bdi>MMM</div></ol>
+<ol start='3999'><div><bdi>MMMCMXCIX. </bdi>MMMCMXCIX</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/upper-roman/css3-counter-styles-024.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024.html
new file mode 100644
index 0000000000..e3a539ccd8
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 10-3999</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-024-ref.html'>
+<meta name="assert" content="list-style: upper-roman produces numbers after 9 items per the spec.">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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'>X</li></ol>
+<ol start='11'><li title='11'>XI</li></ol>
+<ol start='12'><li title='12'>XII</li></ol>
+<ol start='43'><li title='43'>XLIII</li></ol>
+<ol start='77'><li title='77'>LXXVII</li></ol>
+<ol start='80'><li title='80'>LXXX</li></ol>
+<ol start='99'><li title='99'>XCIX</li></ol>
+<ol start='100'><li title='100'>C</li></ol>
+<ol start='101'><li title='101'>CI</li></ol>
+<ol start='222'><li title='222'>CCXXII</li></ol>
+<ol start='540'><li title='540'>DXL</li></ol>
+<ol start='999'><li title='999'>CMXCIX</li></ol>
+<ol start='1000'><li title='1000'>M</li></ol>
+<ol start='1005'><li title='1005'>MV</li></ol>
+<ol start='1060'><li title='1060'>MLX</li></ol>
+<ol start='1065'><li title='1065'>MLXV</li></ol>
+<ol start='1800'><li title='1800'>MDCCC</li></ol>
+<ol start='1860'><li title='1860'>MDCCCLX</li></ol>
+<ol start='1865'><li title='1865'>MDCCCLXV</li></ol>
+<ol start='2555'><li title='2555'>MMDLV</li></ol>
+<ol start='3000'><li title='3000'>MMM</li></ol>
+<ol start='3999'><li title='3999'>MMMCMXCIX</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/upper-roman/css3-counter-styles-024a-ref.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024a-ref.html
new file mode 100644
index 0000000000..896af6e7ff
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024a-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 3000-3999</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='author' title='Chris Lilley' href='mailto:chris@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="Setting list-style-type to upper-roman will produce list of up to 9 items in the range range: 1 to 3999.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: upper-roman; }
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the two columns are the same, ignoring the suffix.</p>
+
+
+<div class="test"><ol start='3000'><div><bdi>MMM. </bdi>MMM.</div></ol>
+<ol start='3555'><div><bdi>MMMDLV. </bdi>MMMDLV.</div></ol>
+<ol start='3998'><div><bdi>MMMCMXCVIII. </bdi>MMMCMXCVIII.</div></ol>
+<ol start='3999'><div><bdi>MMMCMXCIX. </bdi>MMMCMXCIX.</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/upper-roman/css3-counter-styles-024a.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024a.html
new file mode 100644
index 0000000000..336503883e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-024a.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 3000-3999</title>
+<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
+<link rel='author' title='Chris Lilley' href='mailto:chris@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-024a-ref.html'>
+<meta name="assert" content="Setting list-style-type to upper-roman will produce list of up to 9 items in the range range: 1 to 3999.">
+<style type='text/css'>
+.test { font-size: 25px; }
+ol { margin: 0; padding-left: 8em; }
+ol li { list-style-type: upper-roman; 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='3000'><li title='3000'>MMM.</li></ol>
+<ol start='3555'><li title='3555'>MMMDLV.</li></ol>
+<ol start='3998'><li title='3998'>MMMCMXCVIII.</li></ol>
+<ol start='3999'><li title='3999'>MMMCMXCIX.</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/upper-roman/css3-counter-styles-025-ref.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-025-ref.html
new file mode 100644
index 0000000000..b3e2c3ad64
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-025-ref.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 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/#simple-numeric'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<meta name="assert" content="list-style-type: upper-roman produces numbers in the fallback counter style above the limit per the spec">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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='3999'>
+<div><bdi>MMMCMXCIX. </bdi>MMMCMXCIX</div>
+<div><bdi>4000. </bdi>4000</div></ol>
+<ol start='4001'><div><bdi>4001. </bdi>4001</div>
+<div><bdi>4002. </bdi>4002</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/upper-roman/css3-counter-styles-025.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-025.html
new file mode 100644
index 0000000000..322679183f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-025.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 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/#simple-numeric'>
+<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
+<link rel='match' href='css3-counter-styles-025-ref.html'>
+<meta name="assert" content="list-style-type: upper-roman produces numbers in the fallback counter style above the limit per the spec">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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='3999'>
+<li title='3999'>MMMCMXCIX</li>
+<li title='4000'>4000</li></ol>
+<ol start='4001'><li title='4001'>4001</li>
+<li title='4002'>4002</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/upper-roman/css3-counter-styles-026-ref.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-026-ref.html
new file mode 100644
index 0000000000..5c9aa58656
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-026-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 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: upper-roman produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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>I. </bdi>I.</div>
+<div><bdi>II. </bdi>II.</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/upper-roman/css3-counter-styles-026.html b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-026.html
new file mode 100644
index 0000000000..40f78b2ae3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/upper-roman/css3-counter-styles-026.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>upper-roman, 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-026-ref.html'>
+<meta name="assert" content="list-style-type: upper-roman produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: upper-roman; }
+/* 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'>I.</li>
+<li title='2'>II.</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>