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

Unified Diff: LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.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/css-focus-pseudo-match-shadow-host3.html
diff --git a/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html b/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html
index c25c124034a545e76d5e3cdcd8977a2742614edc..b20847b9e78294b10f464a558b280c6dac4ecb2f 100644
--- a/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html
+++ b/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host3.html
@@ -14,14 +14,6 @@ div#shadow-host:focus {
<div id="sandbox"></div>
</body>
<script>
-function backgroundColorOf(selector) {
- return window.getComputedStyle(getNodeInTreeOfTrees(selector)).backgroundColor;
-}
-
-function backgroundColorShouldBe(selector, expected) {
- shouldBeEqualToString('backgroundColorOf(\'' + selector + '\')', expected);
-}
-
function buildShadowTreeOfTrees(delegatesFocus1, delegatesFocus2) {
var sandbox = document.querySelector('#sandbox');
sandbox.innerHTML = '';

Powered by Google App Engine
This is Rietveld 408576698