blob: 2eb2a04ae27d7570bab7861a1581724414d81694 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
#scroller {
background-color: #ccc;
margin-top: 20px;
overflow: scroll;
#fracheight {
height: 1200.3px;
<div id="scroller" onmousewheel="">
<div id="fracheight"></div>
description("Verifies that main-thread scrolls chain correctly from a " +
"fractional-height scroller to its parent.");
if (window.eventSender) {
eventSender.mouseMoveTo(100, 400);
eventSender.mouseScrollBy(0, -1);
shouldBe("scrollY", "40");
debug("To run interactively, try to scroll the page with the mouse " +
"wheel while the pointer is inside the gray box below.")