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.
Attachment #469325 - Flags: review?(Olli.Pettay)
Wow.. cannot change the MIME type...
It is possible to change the mime type. details->edit->mimetype
Comment on attachment 469326 [details] [diff] [review] Patch v1.0 Yeah, this should do it.
Attachment #469326 - Flags: review?(Olli.Pettay) → review+
Comment on attachment 469326 [details] [diff] [review] Patch v1.0 The risk is low.
Attachment #469326 - Flags: approval2.0?
(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.
Attachment #469326 - Flags: approval2.0? → approval2.0+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b6
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.