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

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

Issue 137993003: Revert the feature of the <shadow> element as 'a function call' to the previous behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update LayoutTests/TestExpectations Created 6 years, 11 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 4
5 <p>Fallback elements should be rendered if it's distributed</p> 5 <p>Fallback elements for content insertion points should be rendered</p>
6 6
7 <div id="host1"></div> 7 <div id="host1"></div>
8 8
9 <script> 9 <script>
10 var shadowRoot1 = host1.createShadowRoot(); 10 var shadowRoot1 = host1.createShadowRoot();
11 shadowRoot1.innerHTML = 11 shadowRoot1.innerHTML =
12 '<div id="host2">' + 12 '<div id="host2">' +
13 '<content><div title="debugstop">content fallback element</div></content >' + 13 '<content><div title="debugstop">content fallback element</div></content >' +
14 '<shadow><div>shadow fallback element</div></shadow>' + 14 '<shadow><div>shadow fallback element</div></shadow>' +
15 '<div id="div">This should be selected.</div>' + 15 '<div id="div">This should be selected.</div>' +
16 '</div>'; 16 '</div>';
17 17
18 var host2 = shadowRoot1.getElementById('host2'); 18 var host2 = shadowRoot1.getElementById('host2');
19 var shadowRoot2 = host2.createShadowRoot(); 19 var shadowRoot2 = host2.createShadowRoot();
20 shadowRoot2.innerHTML = '<content select="div"></content>'; 20 shadowRoot2.innerHTML = '<content select="div"></content>';
21 </script> 21 </script>
22 22
23 </html> 23 </html>
24
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698