Closed
Bug 590819
Opened 14 years ago
Closed 14 years ago
Click event isn't fired when mouse button down on border of <input> and mouse button up on padding box of it
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
People
(Reporter: masayuki, Assigned: masayuki)
References
()
Details
Attachments
(1 file, 1 obsolete file)
5.50 KB,
patch
|
smaug
:
review+
jst
:
approval2.0+
|
Details | Diff | Splinter Review |
This is spinning off from bug 552707.
Open the testcase:
> data:text/html,<input onclick="alert('click event fired');" style="border: blue solid 10px;">
Press left mouse button on the blue border and move the cursor into the editor and release the mouse button, then, onclick event must be fired.
At mouse up event handling, the content is anonymous div but the mouse down content is <input>. Therefore, the content mismatch causes to cancel the click event. At the checking, if the current content is a root of anonymous subtree, we should also check whether the parent content is mouse down content or not.
Flags: in-testsuite?
Attachment #469325 -
Flags: review?(Olli.Pettay)
Assignee | ||
Comment 1•14 years ago
|
||
Wow.. cannot change the MIME type...
Attachment #469325 -
Attachment is obsolete: true
Attachment #469326 -
Flags: review?(Olli.Pettay)
Attachment #469325 -
Flags: review?(Olli.Pettay)
Comment 2•14 years ago
|
||
It is possible to change the mime type.
details->edit->mimetype
Comment 3•14 years ago
|
||
Comment on attachment 469326 [details] [diff] [review]
Patch v1.0
Yeah, this should do it.
Attachment #469326 -
Flags: review?(Olli.Pettay) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 469326 [details] [diff] [review]
Patch v1.0
The risk is low.
Attachment #469326 -
Flags: approval2.0?
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #2)
> It is possible to change the mime type.
> details->edit->mimetype
Oh, "edit"... I couldn't find it :-) Thank you.
Updated•14 years ago
|
Attachment #469326 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b6
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•