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

Side by Side Diff: LayoutTests/fast/dom/shadow/link-in-shadow-tree.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 </head> 4 </head>
6 <body> 5 <body>
7 <div id="container"><span id="in-host-children" class="kotori" href="/">tehepero </span></div> 6 <div id="container"><span id="in-host-children" class="kotori" href="/">tehepero </span></div>
8 <div><span id="outside-of-shadow" class="kotori" href="/">tehepero</span></div> 7 <div><span id="outside-of-shadow" class="kotori" href="/">tehepero</span></div>
9 8
10 <script src="../../js/resources/js-test-pre.js"></script> 9 <script src="../../js/resources/js-test-pre.js"></script>
11 <script> 10 <script>
12 function computedBackgroundColor(elem) { 11 function computedBackgroundColor(elem) {
13 var style = document.defaultView.getComputedStyle(elem, ''); 12 var style = document.defaultView.getComputedStyle(elem, '');
14 return style.backgroundColor; 13 return style.backgroundColor;
(...skipping 20 matching lines...) Expand all
35 34
36 shouldBe('computedBackgroundColor(spanInShadow)', '"rgba(0, 0, 0, 0)"'); 35 shouldBe('computedBackgroundColor(spanInShadow)', '"rgba(0, 0, 0, 0)"');
37 shouldBe('computedBackgroundColor(spanInHostChildren)', '"rgba(0, 0, 0, 0)"'); 36 shouldBe('computedBackgroundColor(spanInHostChildren)', '"rgba(0, 0, 0, 0)"');
38 shouldBe('computedBackgroundColor(spanOutsideOfShadow)', '"rgba(0, 0, 0, 0)"'); 37 shouldBe('computedBackgroundColor(spanOutsideOfShadow)', '"rgba(0, 0, 0, 0)"');
39 38
40 var successfullyParsed = true; 39 var successfullyParsed = true;
41 </script> 40 </script>
42 <script src="../../js/resources/js-test-post.js"></script> 41 <script src="../../js/resources/js-test-post.js"></script>
43 </body> 42 </body>
44 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698