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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-reprojection-shadow.html

Issue 441223002: Update LayoutTests by removing child elements of <shadow> element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 <html> 2 <html>
3 3
4 4
5 <p>This test ensures that elements distributed to a content element can be taken from a shadow element</p> 5 <p>This test ensures that elements distributed to a content element can be taken from a shadow element</p>
6 6
7 <div id="host1"> 7 <div id="host1">
8 <div>These elements</div> 8 <div>These elements</div>
9 <div>should be</div> 9 <div>should be</div>
10 <div>reprojected</div> 10 <div>reprojected</div>
11 </div> 11 </div>
12 12
13 <script> 13 <script>
14 var shadowRoot1 = host1.createShadowRoot(); 14 var shadowRoot1 = host1.createShadowRoot();
15 shadowRoot1.innerHTML = '<div id="host2"><content></content></div>'; 15 shadowRoot1.innerHTML = '<div id="host2"><content></content></div>';
16 16
17 var shadowRoot2 = shadowRoot1.getElementById('host2').createShadowRoot(); 17 var shadowRoot2 = shadowRoot1.getElementById('host2').createShadowRoot();
18 shadowRoot2.innerHTML = '<div><shadow><content></content></shadow><div>A</div></ div>' 18 shadowRoot2.innerHTML = '<div><shadow></shadow><div>A</div></div>'
19 </script> 19 </script>
20 20
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698