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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/detach-reattach-shadow.html

Issue 2843883002: Remove, or rewrite if necessary, tests which use /deep/ or ::shadow (Closed)
Patch Set: rev Created 3 years, 8 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
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);

Powered by Google App Engine
This is Rietveld 408576698