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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-setrangetext-with-events.html

Issue 2201853002: Blink handle selection handle visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed line length Created 4 years, 1 month 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/touch/gesture/gesture-tap-setrangetext-with-events.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-setrangetext-with-events.html b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-setrangetext-with-events.html
index 1614a33d22fd4eab166c77c0bfac00dd3a425d42..d9daa8630df4552b37975791c3163e14d0294722 100644
--- a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-setrangetext-with-events.html
+++ b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-setrangetext-with-events.html
@@ -10,7 +10,6 @@ async_test(function(t) {
return;
}
doSetSelectionRange('focus');
- doSetSelectionRange('mousedown');
doSetSelectionRange('mouseup');
doSetSelectionRange('click');
t.done();
@@ -26,13 +25,8 @@ async_test(function(t) {
eventSender.gestureTapDown(tx, ty);
eventSender.gestureShowPress(tx, ty);
eventSender.gestureTap(tx, ty);
- if (eventType === 'mousedown') {
- assert_equals(textfield.selectionStart, 0);
- assert_equals(textfield.selectionEnd, 0);
- } else {
- assert_equals(textfield.selectionStart, 0);
- assert_equals(textfield.selectionEnd, 5);
- }
+ assert_equals(textfield.selectionStart, 0);
+ assert_equals(textfield.selectionEnd, 5);
textfield.setSelectionRange(0, 0);
textfield.removeEventListener(eventType, setSelectionRange);
}

Powered by Google App Engine
This is Rietveld 408576698