<body> | |
Passes if you see PASS in the text field below:<br> | |
<input dir=rtl id=inp size=3><!-- Hide blinking caret --><div style="display:inline-block;background:white; width:20px;height:2em;margin-left:-4px;vertical-align:middle"></div> | |
<script> | |
var text="Start of expected text-" | |
text += "-----PASS" | |
elm = document.getElementById("inp"); | |
elm.value = text; | |
</script></body></html> |