blob: cb5e0ac3e9d0b2a693ce97815fb206eea0aa3547 [file] [log] [blame]
<html>
<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.internals) {
window.internals.setUsesMockScrollAnimator(true);
window.internals.setUsesOverlayScrollbars(true);
}
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
window.onload = function () {
var frame = document.getElementById("frame");
if (window.eventSender) {
eventSender.mouseMoveTo(0, 0);
eventSender.mouseMoveTo(frame.offsetLeft + 4, frame.offsetTop + frame.offsetHeight - 4);
eventSender.mouseMoveTo(0, 0);
}
if (window.testRunner)
testRunner.notifyDone();
};
</script>
<script src="../../resources/js-test-post.js"></script>
<body>
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=153304">https://bugs.webkit.org/show_bug.cgi?id=153304</a>.</p>
<iframe width=120 scrolling=yes id="frame" src="data:text/html,
<p style='white-space: nowrap'>Scroll animator should be notified when overlay scrollbars in main frame are hovered</p>
">
</iframe>
<pre id="console"></pre>
</body>
</html>