Index: third_party/WebKit/LayoutTests/fast/dom/hover-after-dom-delete.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/hover-after-dom-delete.html b/third_party/WebKit/LayoutTests/fast/dom/hover-after-dom-delete.html |
index 1e2b33e509eebe30e8c979b14029160ca758c5fb..9f52a1f6e39bcc8e8dace6d789c3cd8217c16b21 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/hover-after-dom-delete.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/hover-after-dom-delete.html |
@@ -70,7 +70,7 @@ function runtest() |
function testAfterDeleteCursorVisible() |
{ |
- checkBlueHoverContent(blueTextWhenHovered); |
+ checkBlueHoverText(blueTextWhenHovered); |
window.setTimeout(testWithInvisibleCursor, 0); |
} |
@@ -93,14 +93,14 @@ function testWithInvisibleCursor() |
function testAfterDeleteCursorInvisible() |
{ |
- checkBlueHoverContent("none"); |
+ checkBlueHoverText(blueTextWhenNotHovered); |
testRunner.notifyDone(); |
} |
// Helper functions |
-function checkBlueHoverContent(expectedText) |
+function checkBlueHoverText(expectedText) |
{ |
shouldBe("blueDiv.offsetTop", "50"); |
blueText = window.getComputedStyle(document.querySelector('#blue'), ':after').content; |