Index: third_party/WebKit/LayoutTests/fast/css/invalidation/detach-reattach-shadow.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/detach-reattach-shadow.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/detach-reattach-shadow.html |
index f02ce08ee9cb75d99f466aeacfe9f852336f4a84..9795aa296de913bdb4e14d1f98021b914bd429f1 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/detach-reattach-shadow.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/detach-reattach-shadow.html |
@@ -1,7 +1,7 @@ |
<!DOCTYPE html> |
<script src="../../../resources/js-test.js"></script> |
-<style> |
- body /deep/ .a { width: 100px; height: 100px; background-color: green; } |
+<style id="shadow-style"> |
+ .a { width: 100px; height: 100px; background-color: green; } |
</style> |
<script> |
var inner; |
@@ -11,6 +11,7 @@ |
root.appendChild(shadowContainer); |
var shadowRoot = shadowContainer.createShadowRoot(); |
+ shadowRoot.appendChild(document.querySelector('#shadow-style')); |
var mid = document.createElement('div'); |
shadowRoot.appendChild(mid); |