Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / onpaste-text-html-types.html
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>
3
4 <div id="results">FAIL</div>
5
6 <script src="../editing.js"></script>
7 <script>
8 function paste(ev)
9 {
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";
14 }
15
16 function editingTest()
17 {
18     var selection = window.getSelection();
19     selection.modify("extend", "forward", "sentence");
20     copyCommand();
21
22     pasteCommand();
23 }
24
25 runDumpAsTextEditingTest(false);
26 </script>