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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/containment/style-contain-dialogue-element.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/style-contain-dialogue-element-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/containment/style-contain-dialogue-element.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/style-contain-dialogue-element.html b/third_party/WebKit/LayoutTests/fast/css/containment/style-contain-dialogue-element.html
new file mode 100644
index 0000000000000000000000000000000000000000..33fd21f7dbc7b87c4da1975f1533b41b3cd68104
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/containment/style-contain-dialogue-element.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+.contain { contain: style; }
+.reset { counter-reset: c;}
+.increment:before { content: counters(c, ""); }
+.increment { counter-increment: c; }
+</style>
+<div class="increment"></div>
+<div class="contain">
+ <dialog id="test">
+ <div class="increment"></div>
+ </dialog>
+</div>
+<div class="increment"></div>
+<script>
+document.getElementById("test").showModal();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/containment/style-contain-dialogue-element-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698