Index: third_party/WebKit/LayoutTests/fast/css/containment/style-containment-with-counter-nodes.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/style-containment-with-counter-nodes.html b/third_party/WebKit/LayoutTests/fast/css/containment/style-containment-with-counter-nodes.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b40fba55e5735f8a28ea5f89e2f4fd72da21f5f |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/style-containment-with-counter-nodes.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<style> |
+.contain { |
+ float: right; |
+ contain: style; |
+ clear: both; |
+} |
+.reset { counter-reset: c;} |
+.increment:before { content: counters(c, ""); } |
+.increment { counter-increment: c; } |
+</style> |
+<body> |
+<div class="increment"></div> |
+<div class="contain"> |
+ <div class="increment"></div> |
+ <div class="reset"></div> |
+ <div class="increment"></div> |
+</div> |
+<div class="increment"></div> |
+<div class="contain"> |
+ <div class="increment"></div> |
+ <div class="increment"></div> |
+</div> |
+<div class="increment"></div> |