summaryrefslogtreecommitdiffstats
path: root/layout/reftests/counter-style/disclosure-styles.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/counter-style/disclosure-styles.html')
-rw-r--r--layout/reftests/counter-style/disclosure-styles.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/counter-style/disclosure-styles.html b/layout/reftests/counter-style/disclosure-styles.html
new file mode 100644
index 000000000..86908da14
--- /dev/null
+++ b/layout/reftests/counter-style/disclosure-styles.html
@@ -0,0 +1,27 @@
+<style type="text/css">
+ @counter-style disclosure-closed2 {
+ system: extends disclosure-closed;
+ }
+ @counter-style disclosure-open2 {
+ system: extends disclosure-open;
+ }
+ ul {
+ padding: 0;
+ list-style-position: inside;
+ }
+ .closed { list-style-type: disclosure-closed2; }
+ .open { list-style-type: disclosure-open2; }
+ p::before {
+ content: counter(a, disclosure-closed) " ";
+ }
+</style>
+<ul dir="ltr">
+ <li class="closed">closed ltr
+ <li class="open">open ltr
+</ul>
+<ul dir="rtl">
+ <li class="closed">closed rtl
+ <li class="open">open rtl
+</ul>
+<p dir="ltr">closed ltr
+<p dir="rtl">closed rtl