chromium/third_party/blink/web_tests/editing/input/reveal-caret-of-transformed-multiline-input.html

<!DOCTYPE html>
<head>
<script type="text/javascript" src="resources/reveal-utilities.js"></script>
</head>
<body>
<div>When the caret is scrolled out, on starting typing it must be brought to the center of the control.</div>
<textarea name="textarea" id="textarea" rows="10" cols="10" style="transform:rotate(180deg)"></textarea>
<script>

var textArea = document.getElementById("textarea");
textArea.textContent = generateNumbers(0, 30, 2, "\n");
textArea.focus();
textArea.selectionStart = 36;
if (window.eventSender) {
    eventSender.keyDown(">");
    document.body.innerHTML = textarea.scrollTop > 0 ? "PASS" : "FAIL";
}

if (window.testRunner) {
    testRunner.dumpAsText();
}

</script>
</body>