| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| <div onchange="testPassed('div.onchange fired.');"> |
| <form onchange="testPassed('form.onchange fired.');"> |
| <input type="text" id="e" onchange="testPassed('input.onchange fired.');"> |
| description('Tests that the onchange event can be set on any element with an attribute.'); |
| document.getElementById('e').focus(); |
| document.execCommand("InsertText", false, "foo"); |
| document.getElementById('e').blur(); |
| <script src="../../resources/js-test-post.js"></script> |