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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-pseudo-element-with-host-pseudo-class-2.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="resources/shadow-dom.js"></script> 4 <script src="resources/shadow-dom.js"></script>
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body class="bodyClass"> 7 <body class="bodyClass">
8 <div id="sandbox"></div> 8 <div id="sandbox"></div>
9 <pre id="console"></pre> 9 <pre id="console"></pre>
10 </body> 10 </body>
(...skipping 11 matching lines...) Expand all
22 createShadowRoot( 22 createShadowRoot(
23 createDOM('style', {}, 23 createDOM('style', {},
24 document.createTextNode(':host > ::content > * { color: red; }')), 24 document.createTextNode(':host > ::content > * { color: red; }')),
25 createDOM('content', {'id': 'content2'})), 25 createDOM('content', {'id': 'content2'})),
26 createDOM('content', {'id': 'content1'}))), 26 createDOM('content', {'id': 'content1'}))),
27 createDOM('div', {'class': 'content'}, 27 createDOM('div', {'class': 'content'},
28 document.createTextNode('content')))); 28 document.createTextNode('content'))));
29 29
30 shouldBe('window.getComputedStyle(document.querySelector("#host1 > .content")).c olor', '"rgb(0, 128, 0)"'); 30 shouldBe('window.getComputedStyle(document.querySelector("#host1 > .content")).c olor', '"rgb(0, 128, 0)"');
31 </script> 31 </script>
32 <script src="../../js/resources/js-test-post.js"></script>
33 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698