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

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: updated patch with expected file 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
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..f42cfa3f10b9c1e4fe38538c318e7be124574e67 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 and mouse is pressed, then pointer cursor should be shown.
hugoh_UTC2 2017/07/06 11:59:33 "When a drag neither modifies nor creates a select
+ debug('Mouse move');
+ eventSender.mouseMoveTo(target.offsetLeft + target.offsetWidth + 50, target.offsetTop + target.offsetHeight + 100);
+ }, function() {
hugoh_UTC2 2017/07/06 11:59:33 I think this test should go into a new file (becau
+ 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();
}
];

Powered by Google App Engine
This is Rietveld 408576698