From 794191c978b00a03097ac1576ad0be88fe29140b Mon Sep 17 00:00:00 2001 From: Makoto Kato Date: Mon, 8 May 2017 14:06:29 +0900 Subject: [PATCH] Bug 1335880 - Adjust mouse position for dragstart. r=masayuki On Ubuntu 16.04 TLS, test_dragdrop.html due to control margin. So we should adjust the point of dragstart. MozReview-Commit-ID: EPW2UnaIWRt --- editor/libeditor/tests/test_dragdrop.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/libeditor/tests/test_dragdrop.html b/editor/libeditor/tests/test_dragdrop.html index c992b7142f0b7..91156605161eb 100644 --- a/editor/libeditor/tests/test_dragdrop.html +++ b/editor/libeditor/tests/test_dragdrop.html @@ -48,7 +48,7 @@ // -------- Test dragging text from an input.setSelectionRange(1, 4); - result = synthesizeDragStart(input, [[{type: "text/plain", data: "rag"}]], window, 25, 6); + result = synthesizeDragStart(input, [[{type: "text/plain", data: "rag"}]], window, 25, 8); is(result, null, "Test dragging input"); // -------- Test dragging text from a