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

Unified Diff: LayoutTests/fast/dom/shadow/content-combinator-dynamic-attribute-change.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-dynamic-attribute-change.html
diff --git a/LayoutTests/fast/dom/shadow/content-combinator-dynamic-attribute-change.html b/LayoutTests/fast/dom/shadow/content-combinator-dynamic-attribute-change.html
deleted file mode 100644
index 7e9463af5dc770317a722a6a92fee73ab1266d57..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/content-combinator-dynamic-attribute-change.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>/content/ combinator with dynamic attribute change</title>
-<script src="resources/shadow-dom.js"></script>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<div id="sandbox">
-</div>
-<pre id="console"></pre>
-<script>
-var sandbox = document.getElementById('sandbox');
-sandbox.appendChild(
- createDOM('div', {'id': 'host'},
- createShadowRoot(
- createDOM('style', {},
- document.createTextNode('content /content/ .selected { color: green; }')),
- createDOM('content')),
- createDOM('div', {'id': 'child'},
- document.createTextNode('I should be green.'))));
-shouldNotBe('window.getComputedStyle(document.querySelector("#host > #child")).color', '"rgb(0, 128, 0)"');
-document.body.offsetLeft;
-
-document.getElementById('child').classList.add('selected');
-shouldBe('window.getComputedStyle(document.querySelector("#host > #child")).color', '"rgb(0, 128, 0)"');
-
-sandbox.innerHTML = '';
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698