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

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/slotchange-event.html

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src='../../../resources/testharness.js'></script> 2 <script src='../resources/testharness.js'></script>
3 <script src='../../../resources/testharnessreport.js'></script> 3 <script src='../resources/testharnessreport.js'></script>
4 <script src='resources/shadow-dom.js'></script> 4 <script src='../fast/dom/shadow/resources/shadow-dom.js'></script>
5 <div id='d1'> 5 <div id='d1'>
6 <template data-mode='open' data-expose-as='d1_shadow'> 6 <template data-mode='open' data-expose-as='d1_shadow'>
7 <div id='d1-d1'> 7 <div id='d1-d1'>
8 <template data-mode='open' data-expose-as='d1_d1_shadow'> 8 <template data-mode='open' data-expose-as='d1_d1_shadow'>
9 <slot name='d1-d1-s1'></slot> 9 <slot name='d1-d1-s1'></slot>
10 </template> 10 </template>
11 <slot name='d1-s1' slot='d1-d1-s1'></slot> 11 <slot name='d1-s1' slot='d1-d1-s1'></slot>
12 </div> 12 </div>
13 </template> 13 </template>
14 <div id='d2' slot='d1-s1'></div> 14 <div id='d2' slot='d1-s1'></div>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 test.done(); 54 test.done();
55 }); 55 });
56 }); 56 });
57 57
58 const d3 = document.createElement('div'); 58 const d3 = document.createElement('div');
59 d3.setAttribute('id', 'd3'); 59 d3.setAttribute('id', 'd3');
60 d3.setAttribute('slot', 'd1-s1'); 60 d3.setAttribute('slot', 'd1-s1');
61 d1.appendChild(d3); 61 d1.appendChild(d3);
62 }, "slotchange event should be dispatched."); 62 }, "slotchange event should be dispatched.");
63 </script> 63 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698