blob: 36e329e663ae7c764ab667f62c49cc819dc020a8 [file] [log] [blame]
<html>
<script src="../editing.js"></script>
<script>
function onpastehandler(event) {
var e = document.getElementById('result');
e.innerHTML = "SUCCESS";
}
function test() {
execCopyCommand();
// Test to make sure that PasteAndMatchStyle fires the onpaste event.
execPasteAndMatchStyleCommand();
if (window.testRunner)
testRunner.dumpAsText();
}
</script>
<body onload='test()' onpaste='onpastehandler(event)'>
<div id='result'>FAILURE</div>
</body>
</html>