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

Unified Diff: LayoutTests/fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html

Issue 205563004: Revert of Implement /content/ combinator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed patch conflict Created 6 years, 9 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/content-combinator-with-host-pseudo-class-2.html
diff --git a/LayoutTests/fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html b/LayoutTests/fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html
deleted file mode 100644
index d7172779c8ad4a38f2d9c679ac7b582ffac51473..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<script src="resources/shadow-dom.js"></script>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body class="bodyClass">
- <div id="sandbox"></div>
- <pre id="console"></pre>
-</body>
-<script>
-description("Test for crbug.com/274063: cannot style /content/ with a rule that includes :host.");
-
-var sandbox = document.getElementById('sandbox');
-
-sandbox.appendChild(
- createDOM('div', {'id': 'host1'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode(':host > div > content /content/ * { color: green; }')),
- createDOM('div', {'id': 'host2'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode(':host > content /content/ * { color: red; }')),
- createDOM('content', {'id': 'content2'})),
- createDOM('content', {'id': 'content1'}))),
- createDOM('div', {'class': 'content'},
- document.createTextNode('content'))));
-
-shouldBe('window.getComputedStyle(document.querySelector("#host1 > .content")).color', '"rgb(0, 128, 0)"');
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698