-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/9…
- Loading branch information
Showing
82 changed files
with
2,120 additions
and
336 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...ndor-imports/mozilla/mozilla-central-reftests/counter-styles-3/dependent-builtin-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<div>一千、</div> | ||
<div>一千零一、</div> | ||
<div>一千零二、</div> | ||
<div>一千零三、</div> | ||
<div>一千零四、</div> | ||
<div>一〇〇五、</div> | ||
<div>一〇〇六、</div> | ||
<div>一〇〇七、</div> | ||
<div>一〇〇八、</div> | ||
<div>一〇〇九、</div> |
17 changes: 17 additions & 0 deletions
17
css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/dependent-builtin.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: dependent builtin</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#extends-system"> | ||
<link rel="match" href="dependent-builtin-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends simp-chinese-informal; | ||
range: 1000 1004; | ||
} | ||
</style> | ||
<ol start="1000" style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
<li><li><li><li><li> | ||
</ol> |
10 changes: 10 additions & 0 deletions
10
...ts/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-fallback-invalid-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<div>00. </div> | ||
<div>A. </div> | ||
<div>B. </div> | ||
<div>C. </div> | ||
<div>D. </div> |
18 changes: 18 additions & 0 deletions
18
...mports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-fallback-invalid.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor fallback, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-fallback"> | ||
<link rel="match" href="descriptor-fallback-invalid-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends upper-alpha; | ||
fallback: decimal-leading-zero; | ||
fallback: decimal cjk-decimal; | ||
fallback: "*"; | ||
} | ||
</style> | ||
<ol start="0" style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
</ol> |
35 changes: 35 additions & 0 deletions
35
...or-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-fallback-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<!-- list-style-type: a --> | ||
<div>a. </div> | ||
<div>b. </div> | ||
<div>c. </div> | ||
<div>d. </div> | ||
<div>e. </div> | ||
<div>f. </div> | ||
<div>7. </div> | ||
<div>8. </div> | ||
<div>9. </div> | ||
<!-- list-style-type: b --> | ||
<div>a. </div> | ||
<div>b. </div> | ||
<div>c. </div> | ||
<div>d. </div> | ||
<div>e. </div> | ||
<div>f. </div> | ||
<div>7. </div> | ||
<div>8. </div> | ||
<div>9. </div> | ||
<!-- list-style-type: c --> | ||
<div>a. </div> | ||
<div>b. </div> | ||
<div>c. </div> | ||
<div>d. </div> | ||
<div>e. </div> | ||
<div>f. </div> | ||
<div>g. </div> | ||
<div>h. </div> | ||
<div>i. </div> |
39 changes: 39 additions & 0 deletions
39
...vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-fallback.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor fallback</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-fallback"> | ||
<link rel="match" href="descriptor-fallback-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: fixed; | ||
symbols: a b c; | ||
fallback: b; | ||
} | ||
@counter-style b { | ||
system: fixed 4; | ||
symbols: d e f; | ||
fallback: a; | ||
} | ||
@counter-style c { | ||
system: fixed 7; | ||
symbols: g h i; | ||
fallback: a; | ||
} | ||
</style> | ||
<ol style="list-style-type: a"> | ||
<li><li><li> | ||
<li><li><li> | ||
<li><li><li> | ||
</ol> | ||
<ol style="list-style-type: b"> | ||
<li><li><li> | ||
<li><li><li> | ||
<li><li><li> | ||
</ol> | ||
<ol style="list-style-type: c"> | ||
<li><li><li> | ||
<li><li><li> | ||
<li><li><li> | ||
</ol> |
10 changes: 10 additions & 0 deletions
10
...ts/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-negative-invalid-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<div>!2. </div> | ||
<div>!1. </div> | ||
<div>0. </div> | ||
<div>1. </div> | ||
<div>2. </div> |
19 changes: 19 additions & 0 deletions
19
...mports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-negative-invalid.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor negative, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-negative"> | ||
<link rel="match" href="descriptor-negative-invalid-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends decimal; | ||
negative: '!'; | ||
negative: 0; | ||
negative: ~; | ||
negative: '(' 'x' ')'; | ||
} | ||
</style> | ||
<ol start="-2" style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
</ol> |
17 changes: 17 additions & 0 deletions
17
...or-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-negative-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<!-- list-style-type: a --> | ||
<div>⁻2. </div> | ||
<div>⁻1. </div> | ||
<div>0. </div> | ||
<div>1. </div> | ||
<div>2. </div> | ||
<!-- list-style-type: b --> | ||
<div>(2). </div> | ||
<div>(1). </div> | ||
<div>0. </div> | ||
<div>1. </div> | ||
<div>2. </div> |
23 changes: 23 additions & 0 deletions
23
...vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-negative.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor negative</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-negative"> | ||
<link rel="match" href="descriptor-negative-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends decimal; | ||
negative: \207B; | ||
} | ||
@counter-style b { | ||
system: extends decimal; | ||
negative: '(' ')'; | ||
} | ||
</style> | ||
<ol start="-2" style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
</ol> | ||
<ol start="-2" style="list-style-type: b"> | ||
<li><li><li><li><li> | ||
</ol> |
10 changes: 10 additions & 0 deletions
10
...imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-pad-invalid-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<div>001. </div> | ||
<div>002. </div> | ||
<div>003. </div> | ||
<div>004. </div> | ||
<div>005. </div> |
19 changes: 19 additions & 0 deletions
19
...dor-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-pad-invalid.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor pad, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-pad"> | ||
<link rel="match" href="descriptor-pad-invalid-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends decimal; | ||
pad: 3 "0"; | ||
pad: -1 "X"; | ||
pad: "#"; | ||
pad: 2 0; | ||
} | ||
</style> | ||
<ol style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
</ol> |
31 changes: 31 additions & 0 deletions
31
css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-pad-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<!-- list-style-type: a --> | ||
<div>-III. </div> | ||
<div>-*II. </div> | ||
<div>-**I. </div> | ||
<div>0. </div> | ||
<div>**I. </div> | ||
<div>*II. </div> | ||
<div>III. </div> | ||
<div>*IV. </div> | ||
<div>**V. </div> | ||
<div>6. </div> | ||
<!-- list-style-type: b --> | ||
<div>(002). </div> | ||
<div>(001). </div> | ||
<div>000. </div> | ||
<div>001. </div> | ||
<div>002. </div> | ||
<!-- list-style-type: c --> | ||
<div>ooā</div> | ||
<div>ooá</div> | ||
<div>oāá</div> | ||
<div>oǎà</div> | ||
<div>āáǎ</div> | ||
<div>àāá</div> | ||
<!-- list-style-type: d --> | ||
<div>001. </div> |
44 changes: 44 additions & 0 deletions
44
css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-pad.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor pad</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-pad"> | ||
<link rel="match" href="descriptor-pad-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends upper-roman; | ||
range: infinite 5; | ||
pad: 3 '*'; | ||
} | ||
@counter-style b { | ||
system: extends decimal; | ||
negative: '(' ')'; | ||
pad: 3 '0'; | ||
} | ||
@counter-style c { | ||
system: alphabetic; | ||
symbols: a\0304 a\0301 a\030c a\0300; | ||
pad: 3 o; | ||
suffix: ''; | ||
} | ||
@counter-style d { | ||
system: extends decimal; | ||
pad: '0' 3; | ||
} | ||
</style> | ||
<ol start="-3" style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
<li><li><li><li><li> | ||
</ol> | ||
<ol start="-2" style="list-style-type: b"> | ||
<li><li><li><li><li> | ||
</ol> | ||
<ol style="list-style-type: c"> | ||
<li><li> | ||
<li value="6"><li value="16"> | ||
<li value="27"><li value="70"> | ||
</ol> | ||
<ol style="list-style-type: d"> | ||
<li> | ||
</ol> |
10 changes: 10 additions & 0 deletions
10
...orts/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-prefix-invalid-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<div>#-2. </div> | ||
<div>#-1. </div> | ||
<div>#0. </div> | ||
<div>#1. </div> | ||
<div>#2. </div> |
19 changes: 19 additions & 0 deletions
19
...-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-prefix-invalid.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor prefix, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-prefix"> | ||
<link rel="match" href="descriptor-prefix-invalid-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends decimal; | ||
prefix: "#"; | ||
prefix: *; | ||
prefix: 0; | ||
prefix: '$' '$'; | ||
} | ||
</style> | ||
<ol start="-2" style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
</ol> |
17 changes: 17 additions & 0 deletions
17
...ndor-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-prefix-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Reference: symbols function, invalid</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="stylesheet" href="support/ref-common.css"> | ||
<!-- ol --> | ||
<div>Appendix -2. </div> | ||
<div>Appendix -1. </div> | ||
<div>Appendix 0. </div> | ||
<div>Appendix I. </div> | ||
<div>Appendix II. </div> | ||
<!-- section --> | ||
<p>-2</p> | ||
<p>-1</p> | ||
<p>0</p> | ||
<p>I</p> | ||
<p>II</p> |
28 changes: 28 additions & 0 deletions
28
css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/descriptor-prefix.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<meta charset="UTF-8"> | ||
<title>CSS Test: descriptor prefix</title> | ||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> | ||
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#counter-style-prefix"> | ||
<link rel="match" href="descriptor-prefix-ref.html"> | ||
<link rel="stylesheet" href="support/test-common.css"> | ||
<style type="text/css"> | ||
@counter-style a { | ||
system: extends upper-roman; | ||
prefix: "Appendix "; | ||
} | ||
section { | ||
counter-reset: p -3; | ||
} | ||
p { | ||
counter-increment: p; | ||
} | ||
p::before { | ||
content: counter(p, a); | ||
} | ||
</style> | ||
<ol start="-2" style="list-style-type: a"> | ||
<li><li><li><li><li> | ||
</ol> | ||
<section> | ||
<p><p><p><p><p> | ||
</section> |
Oops, something went wrong.