summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/devanagari
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-counter-styles/devanagari')
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119-ref.html36
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119.html37
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120-ref.html50
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120.html51
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121-ref.html28
-rw-r--r--testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121.html29
6 files changed, 231 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119-ref.html b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119-ref.html
new file mode 100644
index 0000000000..7fad30ec61
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>devanagari, 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:devanagari produces numbers up to 9 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: devanagari; }
+/* 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> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119.html b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119.html
new file mode 100644
index 0000000000..c736f7f5a3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-119.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>devanagari, 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-119-ref.html'>
+<meta name="assert" content="list-style-type:devanagari produces numbers up to 9 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: devanagari; }
+/* 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> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120-ref.html b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120-ref.html
new file mode 100644
index 0000000000..0d30e230b1
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120-ref.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>devanagari, 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: devanagari produces numbers after 9 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: devanagari; }
+/* 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="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> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120.html b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120.html
new file mode 100644
index 0000000000..e52763b761
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-120.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>devanagari, 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-120-ref.html'>
+<meta name="assert" content="list-style-type: devanagari produces numbers after 9 per the spec.">
+<style type='text/css'>
+ol li { list-style-type: devanagari; }
+/* 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="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> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121-ref.html b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121-ref.html
new file mode 100644
index 0000000000..e81d36406d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>devanagari, 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: devanagari produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: devanagari; }
+/* 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> \ No newline at end of file
diff --git a/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121.html b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121.html
new file mode 100644
index 0000000000..8db16780da
--- /dev/null
+++ b/testing/web-platform/tests/css/css-counter-styles/devanagari/css3-counter-styles-121.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="en" >
+<head>
+<meta charset="utf-8"/>
+<title>devanagari, 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-121-ref.html'>
+<meta name="assert" content="list-style-type: devanagari produces a suffix per the spec.">
+<style type='text/css'>
+ol li { list-style-type: devanagari; }
+/* 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