[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / ManualTests / plain-text-paste.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2         "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en">
4 <head>
5 </head>
6 <body>
7 <p><b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=8276">Bugzilla bug 8276</a> REGRESSION (NativeTextField): Pasting a Finder item into a text field results in a file: URL being pasted instead of just the file name
8 <br><i>and</i><br> <b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=8283">Bugzilla bug 8283</a> REGRESSION: File's path doesn't appear after dragging file into input field</p>
9
10 <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b><br>
11 1. Double-click <a href="resources/plain-text-paste.dmg">this disk image</a> in the Finder.<br>
12 2. Drag each item from the Finder window into the corresponding field below.<br>
13 3. Select item 5 in the Finder window and choose Copy &ldquo;5&rdquo; from the Finder&rsquo;s Edit menu.<br>
14 4. Back in Safari, click inside the &ldquo;Paste item 5 here&rdquo; field and choose Paste from the Edit menu.<br>
15 5. Eject the disk image.
16 </p>
17
18 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
19 The fields&rsquo; contents will match the Expected Contents.
20 </p>
21
22 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
23 The fields&rsquo; contents will NOT match the Expected Contents.
24 </p>
25 Plain text clipping
26 <table cellspacing="0" cellpadding="5">
27     <col><col style="background: #ffc;">
28     <tr>
29         <td></td>
30         <td><b>Expected Contents</b></td>
31     </tr>
32     <tr>
33         <td>Drag item 1 here: <input></td>
34         <td>Plain text clipping</td>
35     </tr>
36     <tr>
37         <td>Drag item 2 here: <input></td>
38         <td>Styled text clipping</td>
39     </tr>
40     <tr>
41         <td>Drag item 3 here: <input></td>
42         <td><i>full path to 3.gif, starting with a / character</i></td>
43     </tr>
44     <tr>
45         <td>Drag item 4 here: <input></td>
46         <td><i>full path to 4.txt, starting with a / character</i></td>
47     </tr>
48     <tr>
49         <td>Drag item 5 here: <input></td>
50         <td>http://www.ibm.com/</td>
51     </tr>
52     <tr>
53         <td>Paste item 5 here: <input></td>
54         <td>5</td>
55     </tr>
56 </body>
57 </html>