Index: LayoutTests/fast/css/counter-none.htm |
diff --git a/LayoutTests/fast/css/counter-none.htm b/LayoutTests/fast/css/counter-none.htm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e504ebc89f00ebbf88fc7ebb3a2c820b3d489d85 |
--- /dev/null |
+++ b/LayoutTests/fast/css/counter-none.htm |
@@ -0,0 +1,43 @@ |
+<!doctype html> |
+<html> |
+ <head> |
+ <style> |
+ .reset_section { |
+ counter-reset: reset_section_count 13; |
+ } |
+ .reset_section { |
+ counter-increment: reset_section_count; |
+ counter-reset: none; |
+ } |
+ .reset_section > .title:before { |
+ content: counter(reset_section_count); |
+ } |
+ .increment_section { |
+ counter-increment: increment_section_count 2; |
+ } |
+ .increment_section { |
+ counter-increment: none; |
+ } |
+ .increment_section > .title:before { |
+ content: counter(increment_section_count); |
+ } |
+ </style> |
+ </head> |
+ <body> |
+ <div class="reset_section"> |
+ <div class="title">Reset Section 1 title</div> |
+ </div> |
+ <div class="reset_section"> |
+ <div class="title">Reset Section 2 title</div> |
+ </div> |
+ <div class="increment_section"> |
+ <div class="title">Increment Section 1 title</div> |
+ </div> |
+ <div class="increment_section"> |
+ <div class="title">Increment Section 2 title</div> |
+ </div> |
+ <div class="increment_section"> |
+ <div class="title">Increment Section 2 title</div> |
+ </div> |
+ </body> |
+</html> |