Chromium Code Reviews| Index: LayoutTests/fast/html/imports/custom-element-style-block.html |
| diff --git a/LayoutTests/fast/html/imports/custom-element-style-block.html b/LayoutTests/fast/html/imports/custom-element-style-block.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0713e355df081b5c342b19b3a1ff2550fdd51475 |
| --- /dev/null |
| +++ b/LayoutTests/fast/html/imports/custom-element-style-block.html |
| @@ -0,0 +1,19 @@ |
| +<!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(){ |
|
dominicc (has gone to gerrit)
2014/03/18 23:55:28
This test appears to have no assertions? Is this a
|
| + var x = document.querySelector('x-test'); |
| + var port = x.shadowRoot.querySelector('style').sheet.cssRules[0]; |
| + console.log(port.cssText); |
| + console.log(port.styleSheet); |
| +}, "The @import sytle in custom element shadow DOM blocks following script element."); |
| +</script> |
| +</body> |
| +</html> |