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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/style-and-shadow-element.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/style-and-shadow-element.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/style-and-shadow-element.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/style-and-shadow-element.html
index ca3d4dab9315a35471936f59f4e6036c988f566f..34586c32ae6158fb440dc2349f68bac7842c0b68 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/style-and-shadow-element.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/style-and-shadow-element.html
@@ -22,36 +22,6 @@ sandbox.appendChild(
createDOM('div', {'id': 'host'},
createShadowRoot(
createDOM('style', {},
- document.createTextNode(':host::shadow div { background: green; }')),
- createDOM('div', {},
- document.createTextNode('older div'))),
- createShadowRoot(
- createDOM('div', {'id': 'target'},
- document.createTextNode('younger div should be green')))));
-
-backgroundColorShouldBe('host//target', 'rgb(0, 128, 0)');
-
-cleanUp();
-
-sandbox.appendChild(
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode(':host /deep/ div { background: green; }')),
- createDOM('div', {},
- document.createTextNode('older div'))),
- createShadowRoot(
- createDOM('div', {'id': 'target'},
- document.createTextNode('younger div should be green')))));
-
-backgroundColorShouldBe('host//target', 'rgb(0, 128, 0)');
-
-cleanUp();
-
-sandbox.appendChild(
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('style', {},
document.createTextNode(':host div { background: green; }')),
createDOM('div', {},
document.createTextNode('older div'))),

Powered by Google App Engine
This is Rietveld 408576698