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

Side by Side Diff: LayoutTests/fast/dom/shadow/distribution-id-modified.html

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <body> 4 <body>
5 5
6 <script src="resources/polyfill.js"></script>
7 6
8 <div id="host"> 7 <div id="host">
9 <div id="selected">A</div> 8 <div id="selected">A</div>
10 <div>B</div> 9 <div>B</div>
11 <div>C</div> 10 <div>C</div>
12 <div>D</div> 11 <div>D</div>
13 <div>E</div> 12 <div>E</div>
14 <div id="F">F</div> 13 <div id="F">F</div>
15 </div> 14 </div>
16 15
17 <script> 16 <script>
18 if (window.testRunner) 17 if (window.testRunner)
19 testRunner.waitUntilDone(); 18 testRunner.waitUntilDone();
20 19
21 var shadowRoot = host.webkitCreateShadowRoot(); 20 var shadowRoot = host.webkitCreateShadowRoot();
22 shadowRoot.innerHTML = '<content select="#selected"></content>'; 21 shadowRoot.innerHTML = '<content select="#selected"></content>';
23 22
24 setTimeout(function() { 23 setTimeout(function() {
25 A = selected; 24 A = selected;
26 F.id = 'selected'; 25 F.id = 'selected';
27 A.id = ''; 26 A.id = '';
28 if (window.testRunner) 27 if (window.testRunner)
29 testRunner.notifyDone(); 28 testRunner.notifyDone();
30 }, 0); 29 }, 0);
31 </script> 30 </script>
32 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698