Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaron authored and gsnedders committed Feb 20, 2018
1 parent ee2e294 commit 5f4b60f
Show file tree
Hide file tree
Showing 82 changed files with 2,120 additions and 336 deletions.
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>&#x4e00;&#x5343;&#x3001;</div>
<div>&#x4e00;&#x5343;&#x96f6;&#x4e00;&#x3001;</div>
<div>&#x4e00;&#x5343;&#x96f6;&#x4e8c;&#x3001;</div>
<div>&#x4e00;&#x5343;&#x96f6;&#x4e09;&#x3001;</div>
<div>&#x4e00;&#x5343;&#x96f6;&#x56db;&#x3001;</div>
<div>&#x4e00;&#x3007;&#x3007;&#x4e94;&#x3001;</div>
<div>&#x4e00;&#x3007;&#x3007;&#x516d;&#x3001;</div>
<div>&#x4e00;&#x3007;&#x3007;&#x4e03;&#x3001;</div>
<div>&#x4e00;&#x3007;&#x3007;&#x516b;&#x3001;</div>
<div>&#x4e00;&#x3007;&#x3007;&#x4e5d;&#x3001;</div>
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>
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.&nbsp;</div>
<div>A.&nbsp;</div>
<div>B.&nbsp;</div>
<div>C.&nbsp;</div>
<div>D.&nbsp;</div>
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>
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.&nbsp;</div>
<div>b.&nbsp;</div>
<div>c.&nbsp;</div>
<div>d.&nbsp;</div>
<div>e.&nbsp;</div>
<div>f.&nbsp;</div>
<div>7.&nbsp;</div>
<div>8.&nbsp;</div>
<div>9.&nbsp;</div>
<!-- list-style-type: b -->
<div>a.&nbsp;</div>
<div>b.&nbsp;</div>
<div>c.&nbsp;</div>
<div>d.&nbsp;</div>
<div>e.&nbsp;</div>
<div>f.&nbsp;</div>
<div>7.&nbsp;</div>
<div>8.&nbsp;</div>
<div>9.&nbsp;</div>
<!-- list-style-type: c -->
<div>a.&nbsp;</div>
<div>b.&nbsp;</div>
<div>c.&nbsp;</div>
<div>d.&nbsp;</div>
<div>e.&nbsp;</div>
<div>f.&nbsp;</div>
<div>g.&nbsp;</div>
<div>h.&nbsp;</div>
<div>i.&nbsp;</div>
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>
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.&nbsp;</div>
<div>!1.&nbsp;</div>
<div>0.&nbsp;</div>
<div>1.&nbsp;</div>
<div>2.&nbsp;</div>
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>
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>&#x207B;2.&nbsp;</div>
<div>&#x207B;1.&nbsp;</div>
<div>0.&nbsp;</div>
<div>1.&nbsp;</div>
<div>2.&nbsp;</div>
<!-- list-style-type: b -->
<div>(2).&nbsp;</div>
<div>(1).&nbsp;</div>
<div>0.&nbsp;</div>
<div>1.&nbsp;</div>
<div>2.&nbsp;</div>
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>
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.&nbsp;</div>
<div>002.&nbsp;</div>
<div>003.&nbsp;</div>
<div>004.&nbsp;</div>
<div>005.&nbsp;</div>
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>
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.&nbsp;</div>
<div>-*II.&nbsp;</div>
<div>-**I.&nbsp;</div>
<div>0.&nbsp;</div>
<div>**I.&nbsp;</div>
<div>*II.&nbsp;</div>
<div>III.&nbsp;</div>
<div>*IV.&nbsp;</div>
<div>**V.&nbsp;</div>
<div>6.&nbsp;</div>
<!-- list-style-type: b -->
<div>(002).&nbsp;</div>
<div>(001).&nbsp;</div>
<div>000.&nbsp;</div>
<div>001.&nbsp;</div>
<div>002.&nbsp;</div>
<!-- list-style-type: c -->
<div>ooa&#x0304;</div>
<div>ooa&#x0301;</div>
<div>oa&#x0304;a&#x0301;</div>
<div>oa&#x030c;a&#x0300;</div>
<div>a&#x0304;a&#x0301;a&#x030c;</div>
<div>a&#x0300;a&#x0304;a&#x0301;</div>
<!-- list-style-type: d -->
<div>001.&nbsp;</div>
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>
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.&nbsp;</div>
<div>#-1.&nbsp;</div>
<div>#0.&nbsp;</div>
<div>#1.&nbsp;</div>
<div>#2.&nbsp;</div>
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>
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.&nbsp;</div>
<div>Appendix -1.&nbsp;</div>
<div>Appendix 0.&nbsp;</div>
<div>Appendix I.&nbsp;</div>
<div>Appendix II.&nbsp;</div>
<!-- section -->
<p>-2</p>
<p>-1</p>
<p>0</p>
<p>I</p>
<p>II</p>
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>
Loading

0 comments on commit 5f4b60f

Please sign in to comment.