summaryrefslogtreecommitdiffstats
path: root/layout/reftests/counter-style/name-case-sensitivity.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/counter-style/name-case-sensitivity.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/counter-style/name-case-sensitivity.html')
-rw-r--r--layout/reftests/counter-style/name-case-sensitivity.html74
1 files changed, 74 insertions, 0 deletions
diff --git a/layout/reftests/counter-style/name-case-sensitivity.html b/layout/reftests/counter-style/name-case-sensitivity.html
new file mode 100644
index 000000000..d9703b1ae
--- /dev/null
+++ b/layout/reftests/counter-style/name-case-sensitivity.html
@@ -0,0 +1,74 @@
+<!DOCTYPE html>
+<style type="text/css">
+ ol, div, p {
+ padding: 0; margin: 0;
+ line-height: 150%;
+ }
+ ol {
+ list-style-position: inside;
+ }
+ li, div, p {
+ float: left;
+ }
+ @counter-style decimal-leading-zero {
+ system: extends decimal;
+ pad: 3 '0';
+ }
+ @counter-style custom-style {
+ system: cyclic;
+ symbols: \2023;
+ }
+</style>
+
+<!-- list-style -->
+<ol><li style="list-style: Hiragana inside;"></li></ol>
+<ol><li style="list-style: Decimal-Leading-Zero inside;"></li></ol>
+<ol><li style="list-style: custom-style inside;"></li></ol>
+<ol><li style="list-style: Custom-Style inside;"></li></ol>
+
+<!-- list-style-type -->
+<ol><li style="list-style-type: Hiragana;"></li></ol>
+<ol><li style="list-style-type: Decimal-Leading-Zero;"></li></ol>
+<ol><li style="list-style-type: custom-style;"></li></ol>
+<ol><li style="list-style-type: Custom-Style;"></li></ol>
+
+<!-- counter() -->
+<style type="text/css">
+ #counter { counter-reset: a 1; }
+ #counter-a::before { content: counter(a, Hiragana); }
+ #counter-b::before { content: counter(a, Decimal-leading-Zero); }
+ #counter-c::before { content: counter(a, custom-style); }
+ #counter-d::before { content: counter(a, Custom-Style); }
+</style>
+<div id="counter">
+ <p id="counter-a"></p>
+ <p id="counter-b"></p>
+ <p id="counter-c"></p>
+ <p id="counter-d"></p>
+</div>
+
+<!-- counters() -->
+<style type="text/css">
+ #counters { counter-reset: a 1; }
+ #counters-a::before { content: counters(a, '', Hiragana); }
+ #counters-b::before { content: counters(a, '', Decimal-leading-Zero); }
+ #counters-c::before { content: counters(a, '', custom-style); }
+ #counters-d::before { content: counters(a, '', Custom-Style); }
+</style>
+<div id="counters">
+ <p id="counters-a"></p>
+ <p id="counters-b"></p>
+ <p id="counters-c"></p>
+ <p id="counters-d"></p>
+</div>
+
+<style type="text/css">
+ @counter-style a { system: extends HiRaGaNa; }
+ @counter-style b { system: extends Decimal-leading-ZERO; }
+ @counter-style c { system: extends custom-style; }
+ @counter-style d { system: extends Custom-Style; }
+</style>
+<ol><li style="list-style-type: a;"></li></ol>
+<ol><li style="list-style-type: b;"></li></ol>
+<ol><li style="list-style-type: c;"></li></ol>
+<ol><li style="list-style-type: d;"></li></ol>