blob: 3f7a7508c2f01e5a3931b3b1ad68ae3379533a15 [file] [log] [blame]
<!DOCTYPE html>
<style>
textarea {
line-height: 20px;
height: 20px;
}
</style>
<p>Test passes if you can see "Pass" in textarea.</p>
<textarea placeholder="A long placeholder that gets hidden should make the textarea non-scrollable.">Pass</textarea>
<script>
var textarea = document.querySelector("textarea");
textarea.scrollTop = textarea.scrollHeight;
</script>