22 This test verifies scroll position restores correctly when a thumb drag has been cancelled in RTL mode.
<br/>
23 This test is expected to fail on Mac because it doesn't cancel scrolling when mouse cursor is out of a certain range. It is Aura-specific behavior.
24 <script src=
"../../resources/js-test.js"></script>
26 var container
= document
.getElementById("container");
27 container
.scrollLeft
= 350;
29 if (window
.eventSender
) {
30 eventSender
.dragMode
= false;
31 eventSender
.mouseMoveTo(250, 195);
32 eventSender
.mouseDown();
34 eventSender
.mouseMoveTo(100, 195);
35 shouldBe("container.scrollLeft" , "0");
37 eventSender
.mouseMoveTo(100, 700);
38 shouldBe("container.scrollLeft" , "350");