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

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

Issue 2273143002: Update web-platform-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update baseline Created 4 years, 3 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 <title>Shadow DOM: slotchange Events</title> 2 <title>Shadow DOM: slotchange Events</title>
3 <meta name="author" title="Hayato Ito" href="mailto:hayato@google.com"> 3 <meta name="author" title="Hayato Ito" href="mailto:hayato@google.com">
4 <script src="../resources/testharness.js"></script> 4 <script src="/resources/testharness.js"></script>
5 <script src="../resources/testharnessreport.js"></script> 5 <script src="/resources/testharnessreport.js"></script>
6 <script src="resources/shadow-dom.js"></script> 6 <script src="resources/shadow-dom.js"></script>
7 7
8 <div id="test1"> 8 <div id="test1">
9 <div id="host1"> 9 <div id="host1">
10 <template data-mode="open"> 10 <template data-mode="open">
11 <slot id="s1" name="slot1"></slot> 11 <slot id="s1" name="slot1"></slot>
12 </template> 12 </template>
13 <div id="c1" slot="slot1"></div> 13 <div id="c1" slot="slot1"></div>
14 </div> 14 </div>
15 </div> 15 </div>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 <script> 261 <script>
262 async_test((test) => { 262 async_test((test) => {
263 let n = createTestTree(test6); 263 let n = createTestTree(test6);
264 removeWhiteSpaceOnlyTextNodes(n.test6); 264 removeWhiteSpaceOnlyTextNodes(n.test6);
265 265
266 doneIfSlotChange([n.s2], test); 266 doneIfSlotChange([n.s2], test);
267 267
268 n.s1.remove(); 268 n.s1.remove();
269 }, "slotchange event: Even if distributed nodes do not change, slotchange should be fired if assigned nodes are changed."); 269 }, "slotchange event: Even if distributed nodes do not change, slotchange should be fired if assigned nodes are changed.");
270 </script> 270 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698