Closed
Bug 838695
Opened 12 years ago
Closed 12 years ago
Move nsFileControlFrame click handling to nsHTMLInputElement
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: mounir, Assigned: mounir)
References
Details
Attachments
(2 files, 2 obsolete files)
16.17 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
5.92 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #710789 -
Flags: review?(bzbarsky)
![]() |
||
Comment 1•12 years ago
|
||
Comment on attachment 710789 [details] [diff] [review]
Patch
r- per our discussion about how this causes click() to bring up two filepickers.
Attachment #710789 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 2•12 years ago
|
||
This is moving the click handling to the content.
Attachment #710789 -
Attachment is obsolete: true
Attachment #712118 -
Flags: review?(bugs)
Assignee | ||
Updated•12 years ago
|
Summary: Don't have both anonymous elements listen to 'click' but the whole frame instead → Move nsFileControlFrame click handling to nsHTMLInputElement
Assignee | ||
Comment 3•12 years ago
|
||
Better patch, should pass tests.
Attachment #712118 -
Attachment is obsolete: true
Attachment #712118 -
Flags: review?(bugs)
Attachment #712139 -
Flags: review?(bugs)
Comment 4•12 years ago
|
||
Comment on attachment 712139 [details] [diff] [review]
Patch v2
var e = new MouseEvent("click", {...}) looks a bit nicer than
var e = edocument.createEvent("MouseEvent");
e.initMouseEvent("click", ...);
s/DnDMouseListener/DnDListener/
Attachment #712139 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 5•12 years ago
|
||
I will merge that patch with the main patch when landing but asking for a separate review to make the reviewer's life easier ;)
Attachment #715188 -
Flags: review?(bugs)
Comment 6•12 years ago
|
||
Comment on attachment 715188 [details] [diff] [review]
Fix clicking on the button
"Returns if the element should prevent dispatching another DOMActivate." ->
"Returns true if the element should prevent dispatching another DOMActivate."
Attachment #715188 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Flags: in-testsuite-
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → mozilla22
Comment 8•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•