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

Side by Side Diff: LayoutTests/fast/dom/shadow/style-of-distributed-node.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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/polyfill.js"></script>
5 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
6 <script> 5 <script>
7 function getColorProperty(id) { 6 function getColorProperty(id) {
8 return window.getComputedStyle(document.getElementById(id)).color; 7 return window.getComputedStyle(document.getElementById(id)).color;
9 } 8 }
10 9
11 function log(message) { 10 function log(message) {
12 var console = document.getElementById('console'); 11 var console = document.getElementById('console');
13 console.innerHTML += message + '\n'; 12 console.innerHTML += message + '\n';
14 } 13 }
(...skipping 17 matching lines...) Expand all
32 sr.innerHTML = '<content select="#child-a"></content><div style="color: blue"><c ontent select="#child-b"></content></div>'; 31 sr.innerHTML = '<content select="#child-a"></content><div style="color: blue"><c ontent select="#child-b"></content></div>';
33 32
34 shouldBe('getColorProperty("child-a")', '"rgb(255, 0, 0)"'); 33 shouldBe('getColorProperty("child-a")', '"rgb(255, 0, 0)"');
35 shouldBe('getColorProperty("child-b")', '"rgb(0, 0, 255)"'); 34 shouldBe('getColorProperty("child-b")', '"rgb(0, 0, 255)"');
36 35
37 document.getElementById("test").innerHTML = ''; 36 document.getElementById("test").innerHTML = '';
38 </script> 37 </script>
39 <script src="../../js/resources/js-test-post.js"></script> 38 <script src="../../js/resources/js-test-post.js"></script>
40 </body> 39 </body>
41 </html> 40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadowroot-clonenode.html ('k') | LayoutTests/fast/dom/shadow/text-node-in-shadow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698