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

Side by Side Diff: LayoutTests/fast/dom/StyleSheet/empty-shadow-style.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id='sandbox'></div> 7 <div id='sandbox'></div>
8 <pre id='console'></pre> 8 <pre id='console'></pre>
9 <script> 9 <script>
10 var sandbox = document.getElementById('sandbox'); 10 var sandbox = document.getElementById('sandbox');
11 var host = document.createElement('div'); 11 var host = document.createElement('div');
12 var shadowRoot = host.createShadowRoot(); 12 var shadowRoot = host.createShadowRoot();
13 shadowRoot.innerHTML = '<style></style><div>Shadow</div>'; 13 shadowRoot.innerHTML = '<style></style><div>Shadow</div>';
14 shadowRoot.appendChild(document.createElement('style')); 14 shadowRoot.appendChild(document.createElement('style'));
15 sandbox.appendChild(host); 15 sandbox.appendChild(host);
16 16
17 shouldBe("shadowRoot.styleSheets.length", "2"); 17 shouldBe("shadowRoot.styleSheets.length", "2");
18 </script> 18 </script>
19 <script src="../../js/resources/js-test-post.js"></script>
20 </body> 19 </body>
21 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698