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

Unified Diff: LayoutTests/fast/dom/shadow/host-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/host-pseudo-class.html
diff --git a/LayoutTests/fast/dom/shadow/host-pseudo-class.html b/LayoutTests/fast/dom/shadow/host-pseudo-class.html
index 469fda60a113b61c2399cdf5d4c3d19c37c5d6f2..9a8541d60765e825dd25b8330bc5704c4ef600d0 100644
--- a/LayoutTests/fast/dom/shadow/host-pseudo-class.html
+++ b/LayoutTests/fast/dom/shadow/host-pseudo-class.html
@@ -16,14 +16,6 @@ description('Test whether :host 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/focus-with-dom-mutation.html ('k') | LayoutTests/fast/dom/shadow/hostcontext-pseudo-class.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698