Closed
Bug 703500
Opened 14 years ago
Closed 14 years ago
Cannot drop file to <input type="file"/> if drop event is called stopPropagation()
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: masayuki, Assigned: masayuki)
References
(
URL
)
Details
Attachments
(1 file, 1 obsolete file)
|
5.95 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
You cannot drop file to the file input control in the URL.
| Assignee | ||
Comment 1•14 years ago
|
||
I don't know how to drop a file by synthesized event...
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #575388 -
Attachment is obsolete: true
Attachment #576860 -
Flags: review?(bugs)
Comment 3•14 years ago
|
||
Comment on attachment 576860 [details] [diff] [review]
Patch
Thanks for doing this event-listener-systemifying.
This needs tests, I think.
(Unfortunately writing dnd tests is quite painful.)
Attachment #576860 -
Flags: review?(bugs) → review+
| Assignee | ||
Comment 4•14 years ago
|
||
smaug:
Do you know some examples for the tests?
* I don't know how to write the dnd test with file.
* I don't know how to get the bounding rect of native anonymous elements (text edit field and button).
| Assignee | ||
Comment 5•14 years ago
|
||
Smaug: See above comment.
| Assignee | ||
Comment 6•14 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fa2abb5852bd
landed without tests since I don't have idea for creating them, see comment 4.
Whiteboard: [inbound]
Target Milestone: --- → mozilla11
Updated•14 years ago
|
Flags: in-testsuite?
Comment 7•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
You need to log in
before you can comment on or make changes to this bug.
Description
•