Skip to content

Commit

Permalink
Bug 1335880 - Adjust mouse position for dragstart. r=masayuki
Browse files Browse the repository at this point in the history
On Ubuntu 16.04 TLS, test_dragdrop.html due to control margin.  So we should adjust the point of dragstart.

MozReview-Commit-ID: EPW2UnaIWRt
  • Loading branch information
makotokato committed May 8, 2017
1 parent ae58762 commit 794191c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/libeditor/tests/test_dragdrop.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

// -------- Test dragging text from an <input>
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 <textarea>
Expand Down

0 comments on commit 794191c

Please sign in to comment.