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> |