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

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

Issue 1530643003: Support slot element's fallback content feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Created 4 years, 11 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/dom/shadow/v1-slots-fallback-3.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-3.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-3.html
new file mode 100644
index 0000000000000000000000000000000000000000..16097edab36f6c967f9b1f74e9307b3dc870dc5e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-3.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<script src='resources/shadow-dom.js'></script>
+<div id='host'>
+ <template data-mode='open'>
+ <div id='host2'>
+ <template data-mode='open'>
+ <slot name='slot-a'>
+ <slot name='slot-b'>
+ </slot>
+ <div id='fallback-a'></div>
+ </slot>
+ </template>
+ <slot name='slot1' slot='slot-b'>
+ <div id='fallback1'></div>
+ <slot name='slot2'>
+ <div id='fallback2'></div>
+ </slot>
+ </slot>
+ <slot name='slot3'>
+ <slot name='slot4'>
+ <div id='fallback3'></div>
+ </slot>
+ </slot>
+ </div>
+ </template>
+ <div id='child1' slot='slot2'></div>
+</div>
+<script>
+convertTemplatesToShadowRootsWithin(host);
+</script>

Powered by Google App Engine
This is Rietveld 408576698