summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/plain-text-paste.html
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
commit8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch)
tree11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/plain-text-paste.html
parent648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff)
downloadexternal_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/plain-text-paste.html')
-rw-r--r--WebCore/manual-tests/plain-text-paste.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/WebCore/manual-tests/plain-text-paste.html b/WebCore/manual-tests/plain-text-paste.html
new file mode 100644
index 0000000..89ef451
--- /dev/null
+++ b/WebCore/manual-tests/plain-text-paste.html
@@ -0,0 +1,57 @@
+<!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 &ldquo;5&rdquo; from the Finder&rsquo;s Edit menu.<br>
+4. Back in Safari, click inside the &ldquo;Paste item 5 here&rdquo; 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&rsquo; contents will match the Expected Contents.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+The fields&rsquo; 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>