BUG ID: Bugzilla bug 8276 REGRESSION (NativeTextField): Pasting a Finder item into a text field results in a file: URL being pasted instead of just the file name and BUG ID: Bugzilla bug 8283 REGRESSION: File's path doesn't appear after dragging file into input field
STEPS TO TEST: 1. Double-click this disk image in the Finder. 2. Drag each item from the Finder window into the corresponding field below. 3. Select item 5 in the Finder window and choose Copy “5” from the Finder’s Edit menu. 4. Back in Safari, click inside the “Paste item 5 here” field and choose Paste from the Edit menu. 5. Eject the disk image.
TEST PASS: The fields’ contents will match the Expected Contents.
TEST FAIL: The fields’ contents will NOT match the Expected Contents.
原始内容
高亮显示
复制内容
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> </head> <body> <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 <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> <p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b><br> 1. Double-click <a href="resources/plain-text-paste.dmg">this disk image</a> in the Finder.<br> 2. Drag each item from the Finder window into the corresponding field below.<br> 3. Select item 5 in the Finder window and choose Copy “5” from the Finder’s Edit menu.<br> 4. Back in Safari, click inside the “Paste item 5 here” field and choose Paste from the Edit menu.<br> 5. Eject the disk image. </p> <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> The fields’ contents will match the Expected Contents. </p> <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b> The fields’ contents will NOT match the Expected Contents. </p> Plain text clipping <table cellspacing="0" cellpadding="5"> <col><col style="background: #ffc;"> <tr> <td></td> <td><b>Expected Contents</b></td> </tr> <tr> <td>Drag item 1 here: <input></td> <td>Plain text clipping</td> </tr> <tr> <td>Drag item 2 here: <input></td> <td>Styled text clipping</td> </tr> <tr> <td>Drag item 3 here: <input></td> <td><i>full path to 3.gif, starting with a / character</i></td> </tr> <tr> <td>Drag item 4 here: <input></td> <td><i>full path to 4.txt, starting with a / character</i></td> </tr> <tr> <td>Drag item 5 here: <input></td> <td>http://www.ibm.com/</td> </tr> <tr> <td>Paste item 5 here: <input></td> <td>5</td> </tr> </body> </html>
您还没有登录,登录后您可以:
首次使用?从这里 注册