Closed
Bug 1050095
Opened 11 years ago
Closed 11 years ago
[Text Selection] Prevent generate too much unwanted event when calling SelectionCarets::SelectWord.
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: mtseng, Assigned: mtseng)
References
Details
Attachments
(1 file)
|
1.59 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Right now SelectWord will generate 4 selection change events with drag reason and 1 selection change event with mouse up reason. 4 drag events are useless and will cause some bug when showing utility bubble. So we need prevent those events be fired.
| Assignee | ||
Comment 1•11 years ago
|
||
SetSelectionDragState will call StartBatchChanges()/EndBatchChanges so that only mouseup event would be fired.
Attachment #8469058 -
Flags: review?(roc)
Attachment #8469058 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 3•11 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•