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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/content-deep.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/dom/shadow/content-deep.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-deep.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-deep.html
deleted file mode 100644
index 75df7d40335a3cc29a1704ee6bb16dda8b6038ff..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-deep.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/js-test.js"></script>
-<script src="resources/shadow-dom.js"></script>
-<div id="sandbox"></div>
-<script>
-description("::content /deep/ should match deep into distributed subtree.");
-
-var shadowStyle = document.createElement('style');
-shadowStyle.innerText = "::content /deep/ #target { color: green; }";
-
-sandbox.appendChild(
- createDOM('div', {},
- createShadowRoot(
- shadowStyle,
- createDOM('content')),
- createDOM('div', {'id': 'inner'},
- createShadowRoot(
- createDOM('div', {'id': 'target'},
- document.createTextNode('This text should be green'))))));
-
-var target = sandbox.querySelector("#inner").shadowRoot.querySelector("#target");
-
-shouldBeEqualToString("getComputedStyle(target).color", "rgb(0, 128, 0)");
-</script>

Powered by Google App Engine
This is Rietveld 408576698