summaryrefslogtreecommitdiffstats
path: root/layout/reftests/counter-style/descriptor-pad.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/counter-style/descriptor-pad.html')
-rw-r--r--layout/reftests/counter-style/descriptor-pad.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/layout/reftests/counter-style/descriptor-pad.html b/layout/reftests/counter-style/descriptor-pad.html
new file mode 100644
index 000000000..62b6a1ca1
--- /dev/null
+++ b/layout/reftests/counter-style/descriptor-pad.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<link rel="stylesheet" href="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>