13 background-color: blue;
17 <script src=
"../../resources/js-test.js"></script>
19 <div id=
"content"></div>
21 <div id=
"console"></div>
25 element
= document
.getElementById("container");
31 internals
.settings
.setScrollAnimatorEnabled(true);
33 element
.addEventListener("scroll", onElementScroll
);
35 testRunner
.layoutAndPaintAsyncThen(function() {
36 // Give the container focus.
37 eventSender
.mouseMoveTo(100, 100);
38 eventSender
.mouseScrollBy(0, -20, /* paged */ false,
39 /* preciseDeltas */ true);
43 function onElementScroll() {
44 shouldBe("element.scrollTop",
49 description("Tests that overflow scrolls with precise deltas aren't animated.");
51 if (window
.eventSender
)
54 debug("FAIL: This test requires window.eventSender.");