<html>
<body onload="document.getElementById('tf').readOnly = true">
This tests that the border of a readonly text field should appear dimmed.<br>
<input id="tf" readonly value="This border should be dimmed"></input>
</body>
</html>