<!doctype html>
<head>
<script>
function selectStuff()
{
    document.body.offsetLeft;
    if (eventSender) {
        eventSender.mouseMoveTo(790, 25);
        eventSender.mouseDown();
        eventSender.mouseMoveTo(790, 25);
        eventSender.mouseMoveTo(670, 25);
        eventSender.mouseUp();
    }
}
</script>
</head>

<body onload="selectStuff()" style="font-size:36px; -webkit-writing-mode:vertical-rl; -webkit-text-orientation: mixed;">This is the first line of text.<br>
<img style="inline-size:20px;block-size:50px;background-color:green"> This is the second line of <img style="inline-size:20px;block-size:100px;background-color:purple"> text.