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

Unified Diff: LayoutTests/fast/dom/shadow/focus-with-dom-mutation.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/focus-with-dom-mutation.html
diff --git a/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html b/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html
index a0dc40c4f98100bdbd701c03639a5e81a58bdd86..3d272895e4eb64ec75d90c5ff1b291d923e39c1e 100644
--- a/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html
+++ b/LayoutTests/fast/dom/shadow/focus-with-dom-mutation.html
@@ -11,14 +11,6 @@ div:focus { background-color: green; }
<script>
description('Test if :focus matching state of shadow host is properly handled in case of DOM mutation.');
-function backgroundColorOf(selector) {
- return window.getComputedStyle(getNodeInTreeOfTrees(selector)).backgroundColor;
-}
-
-function backgroundColorShouldBe(selector, expected) {
- shouldBeEqualToString('backgroundColorOf(\'' + selector + '\')', expected);
-}
-
function buildTree(parent, delegatesFocus)
{
parent.innerHTML = '';

Powered by Google App Engine
This is Rietveld 408576698