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

Side by Side Diff: LayoutTests/fast/html/imports/custom-element-style-block.html

Issue 202813002: [HTML Import] Let script block by pending resources created by lifecycle callback (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing Created 6 years, 9 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/html/imports/resources/custom-element-style.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/testharness.js"></script>
5 <script src="../../../resources/testharnessreport.js"></script>
6 <link rel="import" href="resources/custom-element-style.html">
7 </head>
8 <body>
9 <x-test></x-test>
10 <script>
11 test(function(){
dominicc (has gone to gerrit) 2014/03/18 23:55:28 This test appears to have no assertions? Is this a
12 var x = document.querySelector('x-test');
13 var port = x.shadowRoot.querySelector('style').sheet.cssRules[0];
14 console.log(port.cssText);
15 console.log(port.styleSheet);
16 }, "The @import sytle in custom element shadow DOM blocks following script eleme nt.");
17 </script>
18 </body>
19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/html/imports/resources/custom-element-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698