blob: 9c7d20ebc9de35c4228377b5e6b50498cbcd1f97 [file] [log] [blame]
<html>
<head>
<script>
function test()
{
document.getElementById('tf').focus();
document.execCommand("InsertText", false, 'Test Failed');
}
</script>
</head>
<body onload="test()">
This tests that text can not be inserted into a readonly text field.<br><input id="tf" style="-khtml-appearance: textfield;" readonly value="Test Passed"></input>
</body>
</html>