summaryrefslogtreecommitdiffstats
path: root/layout/reftests/counter-style/system-additive.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/counter-style/system-additive.html')
-rw-r--r--layout/reftests/counter-style/system-additive.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/layout/reftests/counter-style/system-additive.html b/layout/reftests/counter-style/system-additive.html
new file mode 100644
index 000000000..f3577a93e
--- /dev/null
+++ b/layout/reftests/counter-style/system-additive.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<link rel="stylesheet" href="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;
+ additive-symbols: 7 \2630, 6 \2631, 5 \2632, 4 \2633, 3 \2634, 2 \2635, 1 \2636, 0 \2637;
+ suffix: "";
+ }
+ @counter-style c {
+ system: additive;
+ additive-symbols: 3 "a", 2 "b";
+ }
+ @counter-style d {
+ system: additive;
+ additive-symbols: 1 \10300;
+ }
+</style>
+<ol start="-2" style="list-style-type: a">
+ <li><li><li><li><li>
+ <li><li><li><li><li>
+ <li value="10"><li><li><li>
+ <li value="360"><!-- 60 code points -->
+ <li value="1000"><!-- too long -->
+</ol>
+<ol start="-2" style="list-style-type: b">
+ <li><li><li><li><li>
+</ol>
+<ol style="list-style-type: c">
+ <li><li><li><li><li>
+</ol>
+<ol style="list-style-type: d">
+ <li value="60"><!-- 60 code points -->
+ <li value="100"><!-- too long -->
+</ol>