blob: e45a56054cc8bef6d92da4f290b3212cb0250e1e [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
<style>
#a {
position: absolute;
background-color: #def;
left: 100px;
top: 100px;
width: 1000px;
height: 1000px;
}
</style>
Tests that the scrollbar can be clicked even when it clips absolute-positioned content.
<div id="a"></div>
<script>
window.jsTestIsAsync = true;
function runTest() {
eventSender.mouseMoveTo(790, 500);
eventSender.mouseDown();
eventSender.mouseUp();
shouldBecomeEqual('scrollY > 0', 'true', finishJSTest);
}
onload = runTest;
</script>