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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src='resources/shadow-dom.js'></script>
3 <div id='host'>
4 <template data-mode='open'>
5 <div id='host2'>
6 <template data-mode='open'>
7 <slot name='slot-a'>
8 <slot name='slot-b'>
9 </slot>
10 <div id='fallback-a'></div>
11 </slot>
12 </template>
13 <slot name='slot1' slot='slot-b'>
14 <div id='fallback1'></div>
15 <slot name='slot2'>
16 <div id='fallback2'></div>
17 </slot>
18 </slot>
19 <slot name='slot3'>
20 <slot name='slot4'>
21 <div id='fallback3'></div>
22 </slot>
23 </slot>
24 </div>
25 </template>
26 <div id='child1' slot='slot2'></div>
27 </div>
28 <script>
29 convertTemplatesToShadowRootsWithin(host);
30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698