Changeset 50888 in webkit
- Timestamp:
- Nov 12, 2009 11:21:52 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r50883 r50888 1 2009-11-12 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 https://bugs.webkit.org/show_bug.cgi?id=30291 6 7 Rebased results for existing test case fast/events/drag-and-drop.html 8 from bug #24731. 9 10 Now, we can run the part of the test when effectAllowed == "uninitialized". 11 12 * fast/events/drag-and-drop-expected.txt: Rebased results. 13 * fast/events/drag-and-drop.html: Removed notice about this bug (#30291). 14 1 15 2009-11-12 Chris Fleizach <cfleizach@apple.com> 2 16 -
trunk/LayoutTests/fast/events/drag-and-drop-expected.txt
r50866 r50888 1 1 This test checks that drag-and-drop support works and conforms to the HTML 5 specification. 2 2 For each effectAllowed, iterates through the possible dropEffects: none, copy, move, link, dummy. 3 4 Note, this test fails when effectAllowed == "uninitialized" because this effect has not been implemented yet (see bug #30291).5 3 6 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". … … 11 9 12 10 PASS event.dataTransfer.dropEffect is "none" 13 FAIL event.dataTransfer.dropEffect should be copy. Was none. 14 FAIL event.dataTransfer.dropEffect should be move. Was none. 15 FAIL event.dataTransfer.dropEffect should be link. Was none. 11 PASS event.dataTransfer.dropEffect is "copy" 12 PASS event.dataTransfer.dropEffect is "move" 13 PASS event.dataTransfer.dropEffect is "link" 16 14 PASS event.dataTransfer.dropEffect is "none" 17 15 -
trunk/LayoutTests/fast/events/drag-and-drop.html
r50866 r50888 177 177 <script> 178 178 description("This test checks that drag-and-drop support works and conforms to the HTML 5 specification.<br/>" + 179 "For each effectAllowed, iterates through the possible dropEffects: none, copy, move, link, dummy.<br/><br/>" + 180 "Note, this test fails when effectAllowed == "uninitialized" because this effect has not been " + 181 "implemented yet (see bug #30291)."); 179 "For each effectAllowed, iterates through the possible dropEffects: none, copy, move, link, dummy."); 182 180 var successfullyParsed = true; 183 181 </script> -
trunk/WebCore/ChangeLog
r50886 r50888 1 2009-11-12 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 https://bugs.webkit.org/show_bug.cgi?id=30291 6 7 Fixes an issue where the returned drop effect is incorrect when 8 effectAllowed == "uninitialized". 9 10 According to section 7.9.2 of the HTML 5 spec. 11 <http://dev.w3.org/html5/spec/Overview.html#the-dragevent-and-datatransfer-interfaces> 12 when effectAllowed = "uninitialized" the resulting dropEffect should be the 13 user-specified dropEffect (i.e. "copy", "move", "link") and "none" for any 14 other case. 15 16 No test cases are included because we have an existing test case from 17 bug #24731. 18 19 * dom/Clipboard.cpp: 20 (WebCore::dragOpFromIEOp): Added case for op == "uninitialized". 21 1 22 2009-11-12 Pavel Feldman <pfeldman@chromium.org> 2 23 -
trunk/WebCore/dom/Clipboard.cpp
r48321 r50888 56 56 { 57 57 // yep, it's really just this fixed set 58 if (op == "uninitialized") 59 return DragOperationEvery; 58 60 if (op == "none") 59 61 return DragOperationNone;
Note: See TracChangeset
for help on using the changeset viewer.