Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/containment/style-containment-with-counter-nodes.html

Issue 1519123003: Implement Style Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for shadow DOM Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698