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

Unified Diff: LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1.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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1.html
diff --git a/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1.html b/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1.html
index 32e6fa867d5d7a605d10389865bfbefa5379d7f9..0904a4d43f64f368f72f312f3a90985bd02caf5e 100644
--- a/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1.html
+++ b/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host1.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 testWithoutDelegatesFocus()
{
debug(':focus and shadow host without delegatesFocus for crbug/479050');
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698