1 <div id="test" onpaste="paste(event)">This test verifies that we can get types from the clipboard
2 during an onpaste event. This test requires DRT.</div>
4 <div id="results">FAIL</div>
6 <script src="../editing.js"></script>
10 var types = ev.clipboardData.types;
11 if (types.indexOf('text/plain') >= 0 &&
12 types.indexOf('text/html') >= 0)
13 document.getElementById("results").innerHTML = "PASS";
16 function editingTest()
18 var selection = window.getSelection();
19 selection.modify("extend", "forward", "sentence");
25 runDumpAsTextEditingTest(false);