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

Unified Diff: LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.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/delegatesFocus-highlight-sibling.html
diff --git a/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html b/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html
index 21cfd8ef7dada61c9817e1e17760c8aed86bd374..e3132637c81ecd8344303c44babefd91a79e5e0d 100644
--- a/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html
+++ b/LayoutTests/fast/dom/shadow/delegatesFocus-highlight-sibling.html
@@ -55,14 +55,6 @@ function RegisterXMenu() {
});
}
-function backgroundColorOf(selector) {
- return window.getComputedStyle(getNodeInTreeOfTrees(selector)).backgroundColor;
-}
-
-function backgroundColorShouldBe(selector, expected) {
- shouldBeEqualToString('backgroundColorOf(\'' + selector + '\')', expected);
-}
-
function test() {
debug("crbug/474687 :focus style should properly be applied to shadow hosts.");

Powered by Google App Engine
This is Rietveld 408576698