Bug 28967 - Test that dropEffect "none" prevents drop events.
Summary: Test that dropEffect "none" prevents drop events.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 02:58 PDT by noel gordon
Modified: 2010-06-11 10:09 PDT (History)
2 users (show)

See Also:


Attachments
patch (6.13 KB, patch)
2009-09-04 03:06 PDT, noel gordon
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description noel gordon 2009-09-04 02:58:54 PDT
Two test cases, both use dataTransfer.dropEffect = "none" to prevent drop evenst.  Test
that 1) when there are no drop targets on the page, dropping generates dragleave events
only, and that 2) dragleave events only are generated when dropping on a drop target.
Comment 1 noel gordon 2009-09-04 03:06:11 PDT
Created attachment 39049 [details]
patch
Comment 2 Eric Seidel (no email) 2009-09-04 03:13:14 PDT
Isn't this already covered by:
http://trac.webkit.org/browser/trunk/LayoutTests/fast/events/prevent-drag-to-navigate.html ?
Comment 3 Oliver Hunt 2010-03-14 15:34:02 PDT
Comment on attachment 39049 [details]
patch

why are these in the http test suite? also what do these cover the fast/event/drag-and-drop.html does not?