Changeset 49203 in webkit
- Timestamp:
- Oct 6, 2009 12:14:39 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r49199 r49203 1 2009-10-06 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 https://bugs.webkit.org/show_bug.cgi?id=30107 6 7 Tests that drag-and-drop returns dropEffect = "none" when 8 effectAllowed == "none", regardless of the user-specified 9 drop effect. 10 11 * fast/events/drag-and-drop-none-expected.txt: Added. 12 * fast/events/drag-and-drop-none.html: Added. 13 * platform/win/Skipped: This test does not work under 14 Windows. We need the fix for bug #24731. 15 1 16 2009-10-06 Kent Tamura <tkent@chromium.org> 2 17 -
trunk/LayoutTests/platform/win/Skipped
r49045 r49203 105 105 fast/events/drag-in-frames.html 106 106 fast/events/standalone-image-drag-to-editable.html 107 108 # Windows drag-and-drop does not work correctly (https://bugs.webkit.org/show_bug.cgi?id=24731) 109 fast/events/drag-and-drop-none.html 107 110 108 111 # <rdar://problem/5643675> window.scrollTo scrolls a window with no scrollbars -
trunk/WebKit/mac/ChangeLog
r49190 r49203 1 2009-10-06 Daniel Bates <dbates@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 https://bugs.webkit.org/show_bug.cgi?id=30107 6 7 Fixes an issue where the Mac build does return the correct drop effect 8 with respect to the HTML 5 specification when effectAllowed == "none". 9 10 Currently, when effectAllowed == "none" and dropEffect == "copy" or 11 dropEffect == "move" the resulting drop effect is "copy" and "move", 12 respectively. However, the HTML 5 specification states that regardless 13 of the specified dropEffect, when effectAllowed == "none" the resulting 14 drop effect should be "none". 15 16 * WebView/WebHTMLView.mm: 17 (-[WebHTMLView draggingSourceOperationMaskForLocal:]): 18 1 19 2009-10-06 Pavel Feldman <pfeldman@chromium.org> 2 20 -
trunk/WebKit/mac/WebView/WebHTMLView.mm
r48526 r49203 3426 3426 return NSDragOperationNone; 3427 3427 3428 // FIXME: Why do we override the source provided operation here? Why not in DragController::startDrag3429 if (page->dragController()->sourceDragOperation() == DragOperationNone)3430 return NSDragOperationGeneric | NSDragOperationCopy;3431 3432 3428 return (NSDragOperation)page->dragController()->sourceDragOperation(); 3433 3429 }
Note: See TracChangeset
for help on using the changeset viewer.