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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/cascade-of-treeboundary-crossing-rules.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/cascade-of-treeboundary-crossing-rules.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/cascade-of-treeboundary-crossing-rules.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/cascade-of-treeboundary-crossing-rules.html
index a2354475000a0b62cb2ad98f0e9bfb7f7f34f4a8..9a99e34624e7cd7e2f8cd14950deb63ba43bb21f 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/cascade-of-treeboundary-crossing-rules.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/cascade-of-treeboundary-crossing-rules.html
@@ -57,53 +57,6 @@ borderColorShouldBe('target', 'rgb(0, 128, 0)');
cleanUp();
-// Rules declared in outer treescope should win.
-sandbox.appendChild(
- createDOM('div', {},
- createDOM('style', {},
- document.createTextNode('div /deep/ span { border: 1px solid green; }')),
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('div /deep/ span { border: 1px solid red; }')),
- createDOM('div', {'id': 'host2'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('div > span { border: 1px solid yellow; }')),
- createDOM('div', {},
- createDOM('span', {'id': 'target'},
- document.createTextNode('Geen border')))))))));
-
-borderColorShouldBe('host/host2/target', 'rgb(0, 128, 0)');
-
-cleanUp();
-
-// Comparing rules declared in outer treescope with rules declared in inner treescope.
-// Outer's should win.
-sandbox.appendChild(
- createDOM('div', {},
- createDOM('style', {},
- document.createTextNode('div /deep/ p:empty { border: 1px solid green; }')),
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('div', {},
- createDOM('style', {},
- document.createTextNode('div > p:empty { border: 1px solid blue; }')),
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('content::content > p { border: 1px solid red; }')),
- createDOM('div', {},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('content::content > p { border: 1px solid yellow; }')),
- createDOM('content', {})),
- createDOM('content', {}))),
- createDOM('p', {'id': 'target'}))))));
-
-borderColorShouldBe('host/target', 'rgb(0, 128, 0)');
-
-cleanUp();
-
// Comparing important rules declared in outer treescope with important rules declared in inner treescope.
// Inner's should win.
sandbox.appendChild(
@@ -122,4 +75,3 @@ cleanUp();
</script>
</html>
-

Powered by Google App Engine
This is Rietveld 408576698