<!doctype html>
<html>
<head>
<script src="resources/repaint.js"></script>
<script>
function repaintTest() {
    if (eventSender) {
        eventSender.mouseMoveTo(790, 40);
        eventSender.mouseDown();
        eventSender.mouseMoveTo(790, 40);
        eventSender.mouseMoveTo(790, 120);
        eventSender.mouseUp();
    }
}
</script>

</head>
<body style="-webkit-writing-mode:vertical-rl" onload="runRepaintTest()">
<span>Testing both hit testing</span> and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
Testing both hit testing and painting of selection.<br>
</body>
