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

Unified Diff: LayoutTests/fast/dom/hover-after-dom-delete-invisible-cursor-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 review Created 7 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: LayoutTests/fast/dom/hover-after-dom-delete-invisible-cursor-expected.txt
diff --git a/LayoutTests/fast/dom/hover-after-dom-delete-invisible-cursor-expected.txt b/LayoutTests/fast/dom/hover-after-dom-delete-invisible-cursor-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d191e23b40b6dc2d0486f46c9bf2cd3e68b6fc8
--- /dev/null
+++ b/LayoutTests/fast/dom/hover-after-dom-delete-invisible-cursor-expected.txt
@@ -0,0 +1,13 @@
+Blue.
+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.
+
+Mouse is visible, moving it over the red div.
+PASS redDiv.innerHTML is "Red. Hovered. Keydown to delete."
+PASS blueDiv.innerHTML is "Blue."
+Setting the mouse cursor to be invisible.
+PASS redDiv.innerHTML is "Red. Hovered. Keydown to delete."
+PASS blueDiv.innerHTML is "Blue."
+Mouse is invisible, deleting the red div.
+PASS blueDiv.offsetTop is 50
+PASS is
+

Powered by Google App Engine
This is Rietveld 408576698