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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html

Issue 2967893002: Display arrow cursor instead of i-beam when selection is not present (Closed)
Patch Set: layout test case updated Created 3 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html b/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html
index 55d6a1631b41f1cc28dac14b8e3dd047acbdea66..53e424e3f5a23b5eba8fb34078111407a793bea5 100644
--- a/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html
+++ b/third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change.html
@@ -62,6 +62,20 @@ if (window.eventSender) {
}, function() {
debug('Mouse up');
eventSender.mouseUp();
+ }, function() {
+ // If selection is not happening, then pointer should be shown.
+ debug('Mouse move');
+ eventSender.mouseMoveTo(target.offsetLeft+target.offsetWidth+50, target.offsetTop+target.offsetHeight+100);
Srirama 2017/07/04 13:04:59 nit: add space on either side of operator here and
+ }, function() {
+ debug('Mouse down');
+ eventSender.mouseDown();
+ }, function() {
+ eventSender.mouseMoveTo(target.offsetLeft+target.offsetWidth+90, target.offsetTop+target.offsetHeight+100);
+ debug('Mouse hold down, move');
+ eventSender.mouseMoveTo(target.offsetLeft+target.offsetWidth+160, target.offsetTop+target.offsetHeight+100);
+ }, function() {
+ debug('Mouse up');
+ eventSender.mouseUp();
}
];
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698