1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
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>
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 “5” from the Finder’s Edit menu.<br>
14 4. Back in Safari, click inside the “Paste item 5 here” field and choose Paste from the Edit menu.<br>
15 5. Eject the disk image.
18 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
19 The fields’ contents will match the Expected Contents.
22 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
23 The fields’ contents will NOT match the Expected Contents.
26 <table cellspacing="0" cellpadding="5">
27 <col><col style="background: #ffc;">
30 <td><b>Expected Contents</b></td>
33 <td>Drag item 1 here: <input></td>
34 <td>Plain text clipping</td>
37 <td>Drag item 2 here: <input></td>
38 <td>Styled text clipping</td>
41 <td>Drag item 3 here: <input></td>
42 <td><i>full path to 3.gif, starting with a / character</i></td>
45 <td>Drag item 4 here: <input></td>
46 <td><i>full path to 4.txt, starting with a / character</i></td>
49 <td>Drag item 5 here: <input></td>
50 <td>http://www.ibm.com/</td>
53 <td>Paste item 5 here: <input></td>