Skip to content

Commit

Permalink
Add ref files to WPT tests in css/css-counter-styles (p3)
Browse files Browse the repository at this point in the history
This patch adds ref files mechaninally using the same method as
crrev.com/c/2674491.

Note: for these counter styles, our supported ranges are larger than
the officially specified ranges. Therefore, there are some expected
failures, which are added to NeverFixTests.

Bug: 687225
Change-Id: I194a28ae9d72a0498a815ad1b0c141a52b3cc7bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2676832
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#851230}
  • Loading branch information
xiaochengh authored and chromium-wpt-export-bot committed Feb 5, 2021
1 parent bd0b89f commit 75beb1c
Show file tree
Hide file tree
Showing 102 changed files with 2,043 additions and 102 deletions.
36 changes: 36 additions & 0 deletions css/css-counter-styles/armenian/css3-counter-styles-006-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>armenian, 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='flags' content='font'>
<meta name="assert" content="list-style-type: armenian produces numbers up to 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* 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>
4 changes: 2 additions & 2 deletions css/css-counter-styles/armenian/css3-counter-styles-006.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<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='flags' content='font'>
<link rel='match' href='css3-counter-styles-006-ref.html'>
<meta name="assert" content="list-style-type: armenian produces numbers up to 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</style>
</head>
<body>
Expand Down
51 changes: 51 additions & 0 deletions css/css-counter-styles/armenian/css3-counter-styles-007-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>armenian, 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='flags' content='font'>
<meta name="assert" content="list-style-type: armenian produces numbers after 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* 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='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>
4 changes: 2 additions & 2 deletions css/css-counter-styles/armenian/css3-counter-styles-007.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<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='flags' content='font'>
<link rel='match' href='css3-counter-styles-007-ref.html'>
<meta name="assert" content="list-style-type: armenian produces numbers after 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</style>
</head>
<body>
Expand Down
30 changes: 30 additions & 0 deletions css/css-counter-styles/armenian/css3-counter-styles-008-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>armenian, 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='flags' content='font'>
<meta name="assert" content="list-style-type: armenian produces counter values outside its ranges using its fallback style.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* 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='9999'><div><bdi>ՔՋՂԹ. </bdi>ՔՋՂԹ</div></ol>
<ol start='10000'><div><bdi>10000. </bdi>10000</div></ol>
<ol start='10001'><div><bdi>10001. </bdi>10001</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>
4 changes: 2 additions & 2 deletions css/css-counter-styles/armenian/css3-counter-styles-008.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<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='flags' content='font'>
<link rel='match' href='css3-counter-styles-008-ref.html'>
<meta name="assert" content="list-style-type: armenian produces counter values outside its ranges using its fallback style.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</style>
</head>
<body>
Expand Down
29 changes: 29 additions & 0 deletions css/css-counter-styles/armenian/css3-counter-styles-009-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>armenian, 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='flags' content='font'>
<meta name="assert" content="list-style-type: armenian will produce a suffix per the spec.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* 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>
4 changes: 2 additions & 2 deletions css/css-counter-styles/armenian/css3-counter-styles-009.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<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='flags' content='font'>
<link rel='match' href='css3-counter-styles-009-ref.html'>
<meta name="assert" content="list-style-type: armenian will produce a suffix per the spec.">
<style type='text/css'>
ol li { list-style-type: armenian; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</style>
</head>
<body>
Expand Down
36 changes: 36 additions & 0 deletions css/css-counter-styles/hebrew/css3-counter-styles-015-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>hebrew, 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='flags' content='font'>
<meta name="assert" content="list-style: hebrew produces numbers up to 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: hebrew; }
/* 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 dir=ltr>א. </bdi>א</div>
<div><bdi dir=ltr>ב. </bdi>ב</div>
<div><bdi dir=ltr>ג. </bdi>ג</div>
<div><bdi dir=ltr>ד. </bdi>ד</div>
<div><bdi dir=ltr>ה. </bdi>ה</div>
<div><bdi dir=ltr>ו. </bdi>ו</div>
<div><bdi dir=ltr>ז. </bdi>ז</div>
<div><bdi dir=ltr>ח. </bdi>ח</div>
<div><bdi dir=ltr>ט. </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>
4 changes: 2 additions & 2 deletions css/css-counter-styles/hebrew/css3-counter-styles-015.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<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='flags' content='font'>
<link rel='match' href='css3-counter-styles-015-ref.html'>
<meta name="assert" content="list-style: hebrew produces numbers up to 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: hebrew; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</style>
</head>
<body>
Expand Down
56 changes: 56 additions & 0 deletions css/css-counter-styles/hebrew/css3-counter-styles-016-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>hebrew, 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='flags' content='font'>
<meta name="assert" content="list-style: hebrew produces numbers after 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: hebrew; }
/* 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 dir=ltr>י. </bdi>י</div></ol>
<ol start='11'><div><bdi dir=ltr>יא. </bdi>יא</div></ol>
<ol start='12'><div><bdi dir=ltr>יב. </bdi>יב</div></ol>
<ol start='13'><div><bdi dir=ltr>יג. </bdi>יג</div></ol>
<ol start='14'><div><bdi dir=ltr>יד. </bdi>יד</div></ol>
<ol start='15'><div><bdi dir=ltr>טו. </bdi>טו</div></ol>
<ol start='16'><div><bdi dir=ltr>טז. </bdi>טז</div></ol>
<ol start='17'><div><bdi dir=ltr>יז. </bdi>יז</div></ol>
<ol start='18'><div><bdi dir=ltr>יח. </bdi>יח</div></ol>
<ol start='43'><div><bdi dir=ltr>מג. </bdi>מג</div></ol>
<ol start='77'><div><bdi dir=ltr>עז. </bdi>עז</div></ol>
<ol start='80'><div><bdi dir=ltr>פ. </bdi>פ</div></ol>
<ol start='99'><div><bdi dir=ltr>צט. </bdi>צט</div></ol>
<ol start='100'><div><bdi dir=ltr>ק. </bdi>ק</div></ol>
<ol start='101'><div><bdi dir=ltr>קא. </bdi>קא</div></ol>
<ol start='222'><div><bdi dir=ltr>רכב. </bdi>רכב</div></ol>
<ol start='400'><div><bdi dir=ltr>ת. </bdi>ת</div></ol>
<ol start='401'><div><bdi dir=ltr>תא. </bdi>תא</div></ol>
<ol start='499'><div><bdi dir=ltr>תצט. </bdi>תצט</div></ol>
<ol start='500'><div><bdi dir=ltr>תק. </bdi>תק</div></ol>
<ol start='555'><div><bdi dir=ltr>תקנה. </bdi>תקנה</div></ol>
<ol start='997'><div><bdi dir=ltr>תתקצז. </bdi>תתקצז</div></ol>
<ol start='1000'><div><bdi dir=ltr>א׳. </bdi>א׳</div></ol>
<ol start='1001'><div><bdi dir=ltr>א׳א. </bdi>א׳א</div></ol>
<ol start='3256'><div><bdi dir=ltr>ג׳רנו. </bdi>ג׳רנו</div></ol>
<ol start='7998'><div><bdi dir=ltr>ז׳תתקצח. </bdi>ז׳תתקצח</div></ol>
<ol start='9999'><div><bdi dir=ltr>ט׳תתקצט. </bdi>ט׳תתקצט</div></ol>
<ol start='10000'><div><bdi dir=ltr>י׳. </bdi>י׳</div></ol>
<ol start='10997'><div><bdi dir=ltr>י׳תתקצז. </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>
4 changes: 2 additions & 2 deletions css/css-counter-styles/hebrew/css3-counter-styles-016.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<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='flags' content='font'>
<link rel='match' href='css3-counter-styles-016-ref.html'>
<meta name="assert" content="list-style: hebrew produces numbers after 9 items per the spec.">
<style type='text/css'>
ol li { list-style-type: hebrew; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</style>
</head>
<body>
Expand Down
32 changes: 32 additions & 0 deletions css/css-counter-styles/hebrew/css3-counter-styles-016a-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>hebrew, 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='flags' content='font'>
<meta name="assert" content="list-style-type: hebrew produces numbers in the fallback counter style above the limit per the spec.">
<style type='text/css'>
ol li { list-style-type: hebrew; }
/* 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="10999">
<div><bdi dir=ltr>י׳תתקצט. </bdi>י׳תתקצט</div>
<div><bdi dir=ltr>11000. </bdi>11000</div>
<div><bdi dir=ltr>11001. </bdi>11001</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>
4 changes: 2 additions & 2 deletions css/css-counter-styles/hebrew/css3-counter-styles-016a.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<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='flags' content='font'>
<link rel='match' href='css3-counter-styles-016a-ref.html'>
<meta name="assert" content="list-style-type: hebrew produces numbers in the fallback counter style above the limit per the spec.">
<style type='text/css'>
ol li { list-style-type: hebrew; }
/* the following CSS is not part of the test */
.test { font-size: 25px; }
ol { margin: 0; padding-left: 8em; }
ol { margin: 0; padding-left: 8em; list-style-position: inside; }
</style>
</head>
<body>
Expand Down

0 comments on commit 75beb1c

Please sign in to comment.