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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-reprojection-order.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 class="a ab">A</div> 8 <div class="a ab">A</div>
10 <div class="b ab">B</div> 9 <div class="b ab">B</div>
11 <div class="c">C</div> 10 <div class="c">C</div>
12 </div> 11 </div>
13 12
14 <script> 13 <script>
15 var shadowRoot = host.webkitCreateShadowRoot(); 14 var shadowRoot = host.webkitCreateShadowRoot();
16 15
17 shadowRoot.innerHTML = 16 shadowRoot.innerHTML =
18 '<shadow id="id1"></shadow><hr>' + 17 '<shadow id="id1"></shadow><hr>' +
19 '<content id="id2" select=".b"></content><hr>' + 18 '<content id="id2" select=".b"></content><hr>' +
20 '<div><content id="id3" select=".ab"></content></div><hr>' + 19 '<div><content id="id3" select=".ab"></content></div><hr>' +
21 '<shadow id="id4"><div>D</div></shadow>' 20 '<shadow id="id4"><div>D</div></shadow>'
22 </script> 21 </script>
23 22
24 </body> 23 </body>
25 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698