Chromium Code Reviews

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

Issue 1530643003: Support slot element's fallback content feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-2.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..7afd3600e61b5c85d1be2e52fec629ad7d4155bb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/v1-slots-fallback-2.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src='resources/shadow-dom.js'></script>
+<div id='host'>
+ <template data-mode='open'>
+ <slot name='slot1'>
+ <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>
+ </template>
+ <div id='child1' slot='slot2'></div>
+</div>
+<script>
+convertTemplatesToShadowRootsWithin(host);
+</script>

Powered by Google App Engine