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

Unified Diff: LayoutTests/fast/dom/shadow/hostcontext-pseudo-class.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/hostcontext-pseudo-class.html
diff --git a/LayoutTests/fast/dom/shadow/hostcontext-pseudo-class.html b/LayoutTests/fast/dom/shadow/hostcontext-pseudo-class.html
index e1a0f5fd035c8d39871052ba9a7a9db6763da27a..c770bc1ab08e04a331023ea2b26b02488395b2a2 100644
--- a/LayoutTests/fast/dom/shadow/hostcontext-pseudo-class.html
+++ b/LayoutTests/fast/dom/shadow/hostcontext-pseudo-class.html
@@ -19,14 +19,6 @@ description('Test whether :host-context matches a shadow host correctly.');
var sandbox = document.getElementById('sandbox');
-function backgroundColorOf(selector) {
- return window.getComputedStyle(getNodeInTreeOfTrees(selector)).backgroundColor;
-}
-
-function backgroundColorShouldBe(selector, expected) {
- shouldBeEqualToString('backgroundColorOf(\'' + selector + '\')', expected);
-}
-
function cleanUp() {
sandbox.innerHTML = '';
}
« no previous file with comments | « LayoutTests/fast/dom/shadow/host-pseudo-class.html ('k') | LayoutTests/fast/dom/shadow/resources/shadow-dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698