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

Unified Diff: LayoutTests/fast/dom/shadow/dynamically-added-deep-combinator-and-shadow-pseudo-element.html

Issue 1187053004: Move backgroundColorOf/backgroundColorShouldBe to shadow-dom.js (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/dynamically-added-deep-combinator-and-shadow-pseudo-element.html
diff --git a/LayoutTests/fast/dom/shadow/dynamically-added-deep-combinator-and-shadow-pseudo-element.html b/LayoutTests/fast/dom/shadow/dynamically-added-deep-combinator-and-shadow-pseudo-element.html
index 7b8e4a89946e4a49c0235ec5a20902f1bc147b45..110a3c091828f754532ec1e61d4e1d8edad6eedc 100644
--- a/LayoutTests/fast/dom/shadow/dynamically-added-deep-combinator-and-shadow-pseudo-element.html
+++ b/LayoutTests/fast/dom/shadow/dynamically-added-deep-combinator-and-shadow-pseudo-element.html
@@ -11,18 +11,6 @@
<pre id='console'></pre>
</body>
<script>
-
-function backgroundColorOf(node)
-{
- return document.defaultView.getComputedStyle(node, null).getPropertyValue('background-color');
-}
-
-function backgroundColorShouldBe(selector, color)
-{
- var text = 'backgroundColorOf(getNodeInTreeOfTrees("' + selector + '"))';
- shouldBeEqualToString(text, color);
-}
-
var sandbox = document.getElementById('sandbox');
sandbox.appendChild(
createDOM('div', {'id': 'host'},

Powered by Google App Engine
This is Rietveld 408576698