--- a/layout/reftests/w3c-css/submitted/counter-styles-3/dependent-builtin-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/dependent-builtin-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/dependent-builtin.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/dependent-builtin.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback-invalid-ref.html
@@ -1,7 +1,10 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-fallback.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative-invalid-ref.html
@@ -1,7 +1,10 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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' ')';
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-negative.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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: '(' ')';
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad-invalid-ref.html
@@ -1,7 +1,10 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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;
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-pad.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix-invalid-ref.html
@@ -1,7 +1,10 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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: '$' '$';
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-prefix.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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;
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range-invalid-ref.html
@@ -1,7 +1,10 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>a. </div>
<div>b. </div>
<div>3. </div>
<div>4. </div>
<div>5. </div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: descriptor range, 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-range">
+<link rel="match" href="descriptor-range-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: extends lower-alpha;
range: 1 2;
range: 1;
range: 3 1;
range: xx yy;
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>-III. </div>
<div>-2. </div>
<div>-I. </div>
<div>0. </div>
<div>I. </div>
<div>II. </div>
<div>3. </div>
<div>IV. </div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-range.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: descriptor range</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-range">
+<link rel="match" href="descriptor-range-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: extends upper-roman;
range: infinite -3, -1 2, 4 4, 7 9, 11 infinite;
}
</style>
<ol start="-3" style="list-style-type: a">
<li><li><li><li><li>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix-invalid-ref.html
@@ -1,7 +1,10 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: descriptor suffix, 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-suffix">
+<link rel="match" href="descriptor-suffix-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: extends decimal;
suffix: ',';
suffix: *;
suffix: 0;
suffix: '$' '$';
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix-ref.html
@@ -1,9 +1,12 @@
<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Reference: symbols function, invalid</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
<style type="text/css">
div {
padding: 0; margin: 0;
line-height: 150%;
}
</style>
<!-- list-style-type: a -->
<div>-2,-2</div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-suffix.html
@@ -1,9 +1,14 @@
<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Test: descriptor suffix</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-suffix">
+<link rel="match" href="descriptor-suffix-ref.html">
<style type="text/css">
@counter-style a {
system: extends decimal;
suffix: ",";
}
@counter-style b {
system: extends decimal;
suffix: \3001;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols-invalid-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>4. </div>
<div>5. </div>
<!-- list-style-type: b -->
<div>a. </div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: descriptor symbols, 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-symbols">
+<link rel="match" href="descriptor-symbols-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: fixed;
symbols: a b c;
symbols: 0 1 2;
}
@counter-style b {
system: additive;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>
<!-- list-style-type: b -->
<div>a. </div>
<div>b. </div>
<div>c. </div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/descriptor-symbols.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: descriptor symbols</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-symbols">
+<link rel="match" href="descriptor-symbols-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: fixed;
symbols: a "b" \63;
}
@counter-style b {
system: additive;
additive-symbols: \66 6, 'e' 5, d 4, 3 \63, 2 "b", 1 a;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/disclosure-styles-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/disclosure-styles-ref.html
@@ -1,8 +1,12 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Reference: symbols function, invalid</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
<style type="text/css">
@counter-style disclosure-closed2-ltr {
system: cyclic;
symbols: \25b8;
suffix: ' ';
}
@counter-style disclosure-closed2-rtl {
system: cyclic;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/disclosure-styles.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/disclosure-styles.html
@@ -1,8 +1,14 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Test: disclosure styles</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#disclosure-open">
+<link rel="match" href="disclosure-styles-ref.html">
<style type="text/css">
@counter-style disclosure-closed2 {
system: extends disclosure-closed;
}
@counter-style disclosure-open2 {
system: extends disclosure-open;
}
ul {
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/name-case-sensitivity-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/name-case-sensitivity-ref.html
@@ -1,9 +1,12 @@
<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Reference: symbols function, invalid</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
<style type="text/css">
ol, div, p {
padding: 0; margin: 0;
line-height: 150%;
}
ol {
list-style-position: inside;
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/name-case-sensitivity.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/name-case-sensitivity.html
@@ -1,9 +1,14 @@
<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>CSS Test: name case sensitivity</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#typedef-counter-style-name">
+<link rel="match" href="name-case-sensitivity-ref.html">
<style type="text/css">
ol, div, p {
padding: 0; margin: 0;
line-height: 150%;
}
ol {
list-style-position: inside;
}
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-attr-mapping-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-attr-mapping-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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/test-common.css">
<style type="text/css">
@counter-style triangle {
system: cyclic;
symbols: \2023;
suffix: "";
}
.triangle { list-style-type: triangle; }
.hiragana { list-style-type: hiragana; }
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-attr-mapping.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-attr-mapping.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: redefine attr mapping</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#the-counter-style-rule">
+<link rel="match" href="redefine-attr-mapping-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style triangle {
system: cyclic;
symbols: \2023;
suffix: "";
}
@counter-style disc {
system: extends triangle;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-builtin-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-builtin-ref.html
@@ -1,8 +1,11 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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/test-common.css">
<ol>
<li style="list-style-type: none">foo
<li style="list-style-type: decimal">bar
<li style="list-style-type: disc">baz
<li style="list-style-type: cjk-decimal">
</ol>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-builtin.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/redefine-builtin.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: redefine 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/#the-counter-style-rule">
+<link rel="match" href="redefine-builtin-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style none {
system: extends lower-roman;
}
@counter-style decimal {
system: extends upper-roman;
}
@counter-style disc {
rename from layout/reftests/w3c-css/submitted/counter-styles-3/ref-common.css
rename to layout/reftests/w3c-css/submitted/counter-styles-3/support/ref-common.css
rename from layout/reftests/w3c-css/submitted/counter-styles-3/test-common.css
rename to layout/reftests/w3c-css/submitted/counter-styles-3/support/test-common.css
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function-invalid-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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/test-common.css">
<style type="text/css">
.invalid {
list-style-type: lower-greek;
}
</style>
<ol start="-2" class="invalid">
<li><li><li><li><li>
<li><li><li><li><li>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: symbols function, 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/#symbols-function">
+<link rel="match" href="symbols-function-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
.invalid {
list-style-type: lower-greek;
list-style-type: symbols(a b c);
list-style-type: symbols(alphabetic a b c);
list-style-type: symbols(numeric 0 1 2);
list-style-type: symbols(additive 'a' 'b');
list-style-type: symbols(fixed);
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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/test-common.css">
<style type="text/css">
@counter-style cyclic {
system: cyclic;
symbols: '*' '\2020' '\2021' '\A7';
suffix: ' ';
}
@counter-style numeric {
system: numeric;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/symbols-function.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: symbols function</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#symbols-function">
+<link rel="match" href="symbols-function-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
.default {
list-style-type: symbols('*' '\2020' '\2021' '\A7');
}
.cyclic {
list-style-type: symbols(cyclic '*' '\2020' '\2021' '\A7');
}
.numeric {
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-additive-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-additive-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system additive, 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/#additive-system">
+<link rel="match" href="system-common-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: additive;
suffix: ":";
}
</style>
<ol start="-2" style="list-style-type: a">
<li>foo<li>bar<li>foo<li>bar
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-additive-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-additive-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>⚀</div>
<div>⚁</div>
<div>⚂</div>
<div>⚃</div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-additive.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-additive.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system additive</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#additive-system">
+<link rel="match" href="system-additive-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: additive;
additive-symbols: 6 \2685, 5 \2684, 4 \2683, 3 \2682, 2 \2681, 1 \2680;
suffix: "";
}
@counter-style b {
system: additive;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-alphabetic-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-alphabetic-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system alphabetic, 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/#alphabetic-system">
+<link rel="match" href="system-common-invalid2-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: alphabetic;
suffix: ":";
}
@counter-style b {
system: alphabetic;
symbols: A;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-alphabetic-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-alphabetic-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>⚪</div>
<div>⚫</div>
<div>⚪⚪</div>
<div>⚪⚫</div>
<div>⚫⚪</div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-alphabetic.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-alphabetic.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system alphabetic</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#alphabetic-system">
+<link rel="match" href="system-alphabetic-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: alphabetic;
symbols: \26AA \26AB;
suffix: '';
}
</style>
<ol start="-2" style="list-style-type: a">
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-common-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-common-invalid-ref.html
@@ -1,5 +1,8 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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/test-common.css">
<ol start="-2" style="list-style-type: decimal">
<li>foo<li>bar<li>foo<li>bar
</ol>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-common-invalid2-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-common-invalid2-ref.html
@@ -1,8 +1,11 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<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/test-common.css">
<ol start="-2" style="list-style-type: decimal">
<li>foo<li>bar<li>foo<li>bar
</ol>
<ol start="-2" style="list-style-type: decimal">
<li>foo<li>bar<li>foo<li>bar
</ol>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-cyclic-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-cyclic-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system cyclic, 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/#cyclic-system">
+<link rel="match" href="system-common-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: cyclic;
suffix: ":";
}
</style>
<ol start="-2" style="list-style-type: a">
<li>foo<li>bar<li>foo<li>bar
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-cyclic-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-cyclic-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>‣</div>
<div>‣</div>
<div>‣</div>
<div>‣</div>
<div>‣</div>
<!-- list-style-type: b -->
<div>‡</div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-cyclic.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-cyclic.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system cyclic</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#cyclic-system">
+<link rel="match" href="system-cyclic-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: cyclic;
symbols: \2023;
suffix: "";
}
@counter-style b {
system: cyclic;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends-invalid-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends-invalid-ref.html
@@ -1,11 +1,14 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
-<link rel="stylesheet" href="ref-common.css">
+<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/test-common.css">
+<link rel="stylesheet" href="support/ref-common.css">
<style type="text/css">
ol {
list-style: decimal inside;
}
</style>
<div>a1b</div>
<div>2b</div>
<div>c3. </div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system extends, 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/#extends-system">
+<link rel="match" href="system-extends-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: extends b;
prefix: a;
}
@counter-style b {
system: extends c;
suffix: b;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>Chapter -2. </div>
<div>Chapter -1. </div>
<div>Chapter 0. </div>
<div>Chapter I. </div>
<div>Chapter II. </div>
<div>Chapter III. </div>
<div>Chapter IV. </div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-extends.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system extends</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="system-extends-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: extends upper-roman;
prefix: "Chapter ";
range: 1 5;
}
@counter-style b {
system: extends a;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-fixed-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-fixed-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system fixed, 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/#fixed-system">
+<link rel="match" href="system-common-invalid2-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: fixed;
suffix: ":";
}
@counter-style b {
system: fixed invalid;
suffix: ":";
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-fixed-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-fixed-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>◰:</div>
<div>◱:</div>
<div>◲:</div>
<div>◳:</div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-fixed.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-fixed.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system fixed</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#fixed-system">
+<link rel="match" href="system-fixed-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: fixed;
symbols: \25F0 \25F1 \25F2 \25F3;
suffix: ':';
}
@counter-style b {
system: fixed -1;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-numeric-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-numeric-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system numeric, 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/#numeric-system">
+<link rel="match" href="system-common-invalid2-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: numeric;
suffix: ":";
}
@counter-style b {
system: numeric;
symbols: A;
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-numeric-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-numeric-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>-11. </div>
<div>-10. </div>
<div>-2. </div>
<div>-1. </div>
<div>0. </div>
<div>1. </div>
<div>2. </div>
<div>10. </div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-numeric.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-numeric.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system numeric</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#numeric-system">
+<link rel="match" href="system-numeric-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: numeric;
symbols: '0' '1' '2';
}
</style>
<ol start="-4" style="list-style-type: a">
<li><li><li><li><li>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-symbolic-invalid.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-symbolic-invalid.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system symbolic, 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/#symbolic-system">
+<link rel="match" href="system-common-invalid-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
system: symbolic;
suffix: ":";
}
</style>
<ol start="-2" style="list-style-type: a">
<li>foo<li>bar<li>foo<li>bar
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-symbolic-ref.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-symbolic-ref.html
@@ -1,10 +1,13 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="ref-common.css">
+<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>*</div>
<div>⁑</div>
<div>†</div>
<div>‡</div>
--- a/layout/reftests/w3c-css/submitted/counter-styles-3/system-symbolic.html
+++ b/layout/reftests/w3c-css/submitted/counter-styles-3/system-symbolic.html
@@ -1,10 +1,15 @@
<!DOCTYPE html>
-<link rel="stylesheet" href="test-common.css">
+<meta charset="UTF-8">
+<title>CSS Test: system symbolic</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
+<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#symbolic-system">
+<link rel="match" href="system-symbolic-ref.html">
+<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
@counter-style a {
/* system: symbolic; */
symbols: '*' \2051 \2020 \2021;
suffix: '';
}
@counter-style b {
symbols: \10300;