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

Unified Diff: LayoutTests/fast/dom/shadow/style-with-deep-combinator.html

Issue 304123002: Remove tests that shouldn't pass according to the current spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: LayoutTests/fast/dom/shadow/style-with-deep-combinator.html
diff --git a/LayoutTests/fast/dom/shadow/style-with-deep-combinator.html b/LayoutTests/fast/dom/shadow/style-with-deep-combinator.html
index 6fcd5a9487abeedcd60ab3211bbf287dfe1513e8..0e5da243a45faa7cb12d754df06dd5c13b1e003e 100644
--- a/LayoutTests/fast/dom/shadow/style-with-deep-combinator.html
+++ b/LayoutTests/fast/dom/shadow/style-with-deep-combinator.html
@@ -172,27 +172,6 @@ borderColorShouldBe('host//target', 'rgb(0, 0, 0)');
cleanUp();
-// .foo /deep/ span, .foo is an ancestor of some shadow host which has span in its hosting shadow tree, should match.
-sandbox.appendChild(
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('.foo /deep/ span { border: 1px solid green; }')),
- createDOM('span', {},
- document.createTextNode('some text'))),
- createShadowRoot(
- createDOM('shadow', {}),
- createDOM('div', {'class': 'foo'},
- createDOM('div', {'id': 'host2'},
- createShadowRoot(
- createDOM('span', {'id': 'target'},
- document.createTextNode('green border'))))))));
-
-borderColorShouldBe('host//host2/target', 'rgb(0, 128, 0)');
-
-cleanUp();
-
-
// :host div /deep/ div should match.
sandbox.appendChild(
@@ -333,25 +312,6 @@ borderColorShouldBe('host/host2/host3/target', 'rgb(0, 0, 0)');
cleanUp();
-// div /deep/ span in a sibling shadow tree can match.
-sandbox.appendChild(
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('div /deep/ span { border: 1px solid green; }')),
- createDOM('span', {},
- document.createTextNode('some text'))),
- createShadowRoot(
- createDOM('shadow', {}),
- createDOM('div', {'id': 'host2'},
- createShadowRoot(
- createDOM('span', {'id': 'target'},
- document.createTextNode('green border')))))));
-
-borderColorShouldBe('host//host2/target', 'rgb(0, 128, 0)');
-
-cleanUp();
-
// :host /deep/ * should not match desendant nodes of div#host.
sandbox.appendChild(
createDOM('div', {'id': 'host'},
@@ -422,4 +382,3 @@ cleanUp();
</script>
</html>
-

Powered by Google App Engine
This is Rietveld 408576698