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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-2.html

Issue 1489433002: Support the essential part of Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Internals.* Created 5 years 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/dom/shadow/v1-slots-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-2.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..1d1c1f8df2d8a5023a7b74c31c33bd5846ee669d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-2.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<script src='resources/shadow-dom.js'></script>
+<div id='d1'>
+ <template data-mode='open'>
+ <div id='d1-1'>
+ <template data-mode='open'>
+ <div id='d1-1-1'>d1-1-1</div>
+ <slot name='d1-1-s1'></slot>
+ <slot name='d1-1-s2'></slot>
+ <div id='d1-1-2'>d1-1-2</div>
+ </template>
+ <div id='d1-2'>d1-2</div>
+ <slot id='d1-s0'></slot>
+ <slot name='d1-s1' slot='d1-1-s1'></slot>
+ <slot name='d1-s2'></slot>
+ <div id='d1-3'>d1-3</div>
+ <div id='d1-4' slot='d1-1-s1'>d1-4</div>
+ </div>
+ </template>
+ <div id='d2' slot='d1-s1'>d2</div>
+ <div id='d3' slot='d1-s2'>d3</div>
+ <div id='d4' slot='non-existent'>d4</div>
+ <div id='d5'>d5</div>
+</div>
+<script>
+convertTemplatesToShadowRootsWithin(d1);
+</script>

Powered by Google App Engine
This is Rietveld 408576698