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

Side by Side 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: Tests changed 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test for http://crbug.com/240722. If the mouse cursor is not visible, no new hov er effects should be invoked when the currently hovered node is removed from the DOM. Press any key to delete the red div.
2
3 Mouse is visible, moving it over the red div.
4 PASS redDiv.innerHTML is "Red hovered."
5 PASS blueDiv.innerHTML is ""
6 Mouse is visible, deleting the red div.
7 PASS blueDiv.offsetTop is 50
8 PASS blueText is "'Hovered.'"
9 Re-adding the red and blue divs.
10 PASS blueDiv.offsetTop is 200
11 PASS redDiv.offsetTop is 50
12 Mouse is visible, moving it over the red div.
13 PASS redDiv.innerHTML is "Red hovered."
14 PASS blueDiv.innerHTML is ""
15 Setting the mouse cursor to be invisible.
16 PASS redDiv.innerHTML is "Red hovered."
17 PASS blueDiv.innerHTML is ""
18 Mouse is invisible, deleting the red div.
19 PASS blueDiv.offsetTop is 50
20 PASS blueText is ""
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698