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

Unified Diff: LayoutTests/fast/dom/hover-after-dom-delete-expected.txt

Issue 16285002: Do not invoke or clear hover effects on node deletion when cursor is invisible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 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/hover-after-dom-delete-expected.txt
diff --git a/LayoutTests/fast/dom/hover-after-dom-delete-expected.txt b/LayoutTests/fast/dom/hover-after-dom-delete-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6336834790165b9b8d441b425d8b49eaf40855c9
--- /dev/null
+++ b/LayoutTests/fast/dom/hover-after-dom-delete-expected.txt
@@ -0,0 +1,24 @@
+Test for http://crbug.com/240722. If the mouse cursor is not visible, no new hover effects should be invoked when the currently hovered node is removed from the DOM. Press any key to delete the red div.
+
+Adding the red and blue divs.
+PASS blueDiv.offsetTop is 200
+PASS redDiv.offsetTop is 50
+Mouse is visible, moving it over the red div.
+PASS redDiv.innerHTML is "Red hovered."
+PASS blueDiv.innerHTML is ""
+Mouse is visible, deleting the red div.
+PASS blueDiv.offsetTop is 50
+PASS blueText is "'Hovered.'"
+Adding the red and blue divs.
+PASS blueDiv.offsetTop is 200
+PASS redDiv.offsetTop is 50
+Mouse is visible, moving it over the red div.
+PASS redDiv.innerHTML is "Red hovered."
+PASS blueDiv.innerHTML is ""
+Setting the mouse cursor to be invisible.
+PASS redDiv.innerHTML is "Red hovered."
+PASS blueDiv.innerHTML is ""
+Mouse is invisible, deleting the red div.
+PASS blueDiv.offsetTop is 50
+PASS blueText is ""
+
« no previous file with comments | « LayoutTests/fast/dom/hover-after-dom-delete-child-invisible-cursor-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698