summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/text/input-appearance-disabled.html
blob: a70b49b9bf13af70d82c4f4f08af5033743595e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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 disabled text field.
<br><input id="tf" style="-khtml-appearance: textfield;" disabled value="Test Passed"></input>
</body>
</html>