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

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: Re-landing with another fix 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(){
12 var x = document.querySelector('x-test');
13 var port = x.shadowRoot.querySelector('style').sheet.cssRules[0];
14 assert_true(port.styleSheet instanceof StyleSheet);
15 }, "The @import sytle in custom element shadow DOM blocks following script eleme nt.");
16 </script>
17 </body>
18 </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