summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/arabic-indic
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/arabic-indic
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/arabic-indic')
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-101-ref.html35
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-101.html36
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-102-ref.html88
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-102.html89
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-103-ref.html28
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-103.html29
6 files changed, 305 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-101-ref.html b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-101-ref.html
new file mode 100644
index 0000000000..6b5f2c6ac2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-101-ref.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>arabic-indic, 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: arabic-indic produces numbers up to 9 items per the spec.">
+<style type='text/css'>
+ol li { list-style-type: arabic-indic; }
+/* 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/arabic-indic/css3-counter-styles-101.html b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-101.html
new file mode 100644
index 0000000000..21cd9be228
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-101.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>arabic-indic, 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-101-ref.html'>
+<meta name="assert" content="list-style: arabic-indic produces numbers up to 9 items per the spec.">
+<style type='text/css'>
+ol li { list-style-type: arabic-indic; }
+/* 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/arabic-indic/css3-counter-styles-102-ref.html b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-102-ref.html
new file mode 100644
index 0000000000..93d5e65605
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-102-ref.html
@@ -0,0 +1,88 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>arabic-indic, 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: arabic-indic produces numbers after 9 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: arabic-indic; }
+/* 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>
+<div><bdi>١١. </bdi>١١</div>
+<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>
+<div><bdi>١٠٠. </bdi>١٠٠</div>
+<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>
+<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='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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-102.html b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-102.html
new file mode 100644
index 0000000000..5c86456c94
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-102.html
@@ -0,0 +1,89 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>arabic-indic, 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-102-ref.html'>
+<meta name="assert" content="list-style-type: arabic-indic produces numbers after 9 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: arabic-indic; }
+/* 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>
+<li title='11'>١١</li>
+<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>
+<li title='100'>١٠٠</li>
+<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>
+<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='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>
diff --git a/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-103-ref.html b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-103-ref.html
new file mode 100644
index 0000000000..a1b88990c9
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-103-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>arabic-indic, 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: arabic-indic produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: arabic-indic; }
+/* 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/arabic-indic/css3-counter-styles-103.html b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-103.html
new file mode 100644
index 0000000000..e2e01134d6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/arabic-indic/css3-counter-styles-103.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>arabic-indic, 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-103-ref.html'>
+<meta name="assert" content="list-style-type: arabic-indic produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: arabic-indic; }
+/* 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>