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

Side by Side Diff: LayoutTests/fast/dom/shadow/athost-atrules.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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/base-in-shadow-tree.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #host { 5 #host {
6 color: gray; 6 color: gray;
7 } 7 }
8 </style> 8 </style>
9 <script src="../../js/resources/js-test-pre.js"></script> 9 <script src="../../js/resources/js-test-pre.js"></script>
10 <script src="resources/polyfill.js"></script>
11 <script> 10 <script>
12 function dumpComputedStyle(node) 11 function dumpComputedStyle(node)
13 { 12 {
14 debug(node.id + ": " + document.defaultView.getComputedStyle(node, null).get PropertyValue('color')); 13 debug(node.id + ": " + document.defaultView.getComputedStyle(node, null).get PropertyValue('color'));
15 } 14 }
16 15
17 function preprocessForTest() 16 function preprocessForTest()
18 { 17 {
19 var parent = document.getElementById("parent"); 18 var parent = document.getElementById("parent");
20 parent.innerHTML = '<div id="host"><span>Hello</span></div>'; 19 parent.innerHTML = '<div id="host"><span>Hello</span></div>';
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 testHostVsScopedStyle(); 180 testHostVsScopedStyle();
182 testHostVsInlineStyle(); 181 testHostVsInlineStyle();
183 } 182 }
184 </script> 183 </script>
185 </head> 184 </head>
186 <body onload="runTests()"> 185 <body onload="runTests()">
187 <div id="parent"> 186 <div id="parent">
188 </div> 187 </div>
189 </body> 188 </body>
190 </html> 189 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/base-in-shadow-tree.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698