From e12e3e12b19e226b90e4a0ec3848e400a80c8267 Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Tue, 19 Aug 2014 15:09:28 -0400 Subject: Mouse: Only detect out of document mouseups after a mousemove This prevents the firing of mouseup in the case of IE<9, which will fire a mousemove event if content is placed under the cursor on mousedown. Fixes #7778 --- tests/visual/draggable/replaced.html | 38 ++++++++++++++++++++++++++++++++++++ tests/visual/index.html | 5 +++++ 2 files changed, 43 insertions(+) create mode 100644 tests/visual/draggable/replaced.html (limited to 'tests/visual') diff --git a/tests/visual/draggable/replaced.html b/tests/visual/draggable/replaced.html new file mode 100644 index 000000000..9b5471694 --- /dev/null +++ b/tests/visual/draggable/replaced.html @@ -0,0 +1,38 @@ + + + + + Draggable Visual Test + + + + + + + + + + + + +

WHAT: A draggable, whose content is replaced onmousedown.

+

EXPECTED: In IE8, the draggable can actually be dragged.

+ +
content
+ + + diff --git a/tests/visual/index.html b/tests/visual/index.html index 949fb7e82..736ba3117 100644 --- a/tests/visual/index.html +++ b/tests/visual/index.html @@ -40,6 +40,11 @@
  • Overlapping dialogs
  • +

    Draggable

    + +

    Effects