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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/hover-after-dom-delete.html

Issue 1977323002: Revert of Pseudo and non pseudo elements should return correct computed content value (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: 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;

Powered by Google App Engine
This is Rietveld 408576698