Closed
Bug 1462578
Opened 6 years ago
Closed 5 years ago
HTMLEditRules::NormalizeSelection() should use Selection::SetBaseAndExtent() instead of using Selection::Collapse() and Selection::Extend()
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla68
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Both Selection::Collapse() and Selection::Extend() are expensive. However, HTMLEditRules::NormalizeSelection() calls both of them. Instead, it should use Selection::SetBaseAndExtent() for performance.
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•5 years ago
|
||
This was fixed by bug 1533293.
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
status-firefox-esr68:
--- → fixed
Depends on: 1533293
Target Milestone: --- → mozilla68
Assignee | ||
Updated•5 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•