| Index: third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| index b6574da6b0c20d421688bfe0b21bc4551820cfbb..f8618151f6be13253f4f4efeefa617b8fe13d3b2 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| @@ -368,10 +368,10 @@ TEST_F(EventHandlerTest, NonEmptyTextfieldInsertionOnLongPress) {
|
| }
|
|
|
| TEST_F(EventHandlerTest, ClearHandleAfterTap) {
|
| - setHtmlInnerHTML("<textarea cols=50 rows=50>Enter text</textarea>");
|
| + setHtmlInnerHTML("<textarea cols=50 rows=10>Enter text</textarea>");
|
|
|
| // Show handle
|
| - LongPressEventBuilder longPressEvent(IntPoint(200, 200));
|
| + LongPressEventBuilder longPressEvent(IntPoint(200, 10));
|
| document().frame()->eventHandler().handleGestureEvent(longPressEvent);
|
|
|
| ASSERT_TRUE(
|
| @@ -379,11 +379,9 @@ TEST_F(EventHandlerTest, ClearHandleAfterTap) {
|
| ASSERT_TRUE(selection().isHandleVisible());
|
|
|
| // Tap away from text area should clear handle
|
| - TapEventBuilder singleTapEvent(IntPoint(700, 700), 1);
|
| + TapEventBuilder singleTapEvent(IntPoint(200, 350), 1);
|
| document().frame()->eventHandler().handleGestureEvent(singleTapEvent);
|
|
|
| - ASSERT_TRUE(
|
| - selection().computeVisibleSelectionInDOMTreeDeprecated().isNone());
|
| ASSERT_FALSE(selection().isHandleVisible());
|
| }
|
|
|
|
|