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

Unified Diff: trunk/LayoutTests/fast/html/imports/custom-element-style-block.html

Issue 201673005: Revert 169577 "[HTML Import] Let script block by pending resourc..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | trunk/LayoutTests/fast/html/imports/resources/custom-element-style.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/LayoutTests/fast/html/imports/custom-element-style-block.html
===================================================================
--- trunk/LayoutTests/fast/html/imports/custom-element-style-block.html (revision 169768)
+++ trunk/LayoutTests/fast/html/imports/custom-element-style-block.html (working copy)
@@ -1,18 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
-<link rel="import" href="resources/custom-element-style.html">
-</head>
-<body>
-<x-test></x-test>
-<script>
-test(function(){
- var x = document.querySelector('x-test');
- var port = x.shadowRoot.querySelector('style').sheet.cssRules[0];
- assert_true(port.styleSheet instanceof StyleSheet);
-}, "The @import sytle in custom element shadow DOM blocks following script element.");
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | trunk/LayoutTests/fast/html/imports/resources/custom-element-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698