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