Commit Graph

12 Commits

Author SHA1 Message Date
janekptacijarabaci 8d18cb5bc2 DOM - implement selection events (ensure that we don't dispatch the selectstart and selectionchange events...) 2018-07-25 07:52:29 +08:00
janekptacijarabaci ef6eee37a6 DOM - implement selection events (enable select events for chrome consumers) 2018-07-25 07:51:53 +08:00
janekptacijarabaci 6ba8f06d1a DOM - implement selection events (fire selectstart and selectionchange events on the input node when the selection in that editor changes) 2018-07-25 07:51:46 +08:00
janekptacijarabaci 87efb6b76a DOM - implement selection events (potentially crash) 2018-07-25 07:51:31 +08:00
janekptacijarabaci 0e268b29f2 DOM - implement selection events (rename mApplyUserSelectStyle) 2018-07-25 07:51:24 +08:00
janekptacijarabaci 7f8c9616d6 DOM - implement selection events (base) 2018-07-25 07:51:17 +08:00
Pale Moon a17dc0d577 Hold a strong reference on the Selection while calling ScrollIntoView with SCROLL_DO_FLUSH. 2018-07-25 07:09:13 +08:00
Pale Moon 00c0512ccb Make DOM selection addRange spec-compliant, take 2.
Because of the platform structure, we have to provide a way to add ranges to
Selection objects that aren't associated with a shell/nsFrameSelection.
This commit extends the original implementation with workarounds to add
these ranges by reaching into the internal implementation for adding ranges
and calling those functions directly.
2018-07-25 06:58:28 +08:00
Pale Moon c8b597e077 Revert "Make DOM selection-addRange spec compliant."
This reverts commit 475aff8d8049abb9cc0caa32671d5fa60dc91472.
2018-07-25 06:57:39 +08:00
Pale Moon 790eca3498 Make DOM selection-addRange spec compliant. 2018-07-25 06:57:17 +08:00
wolfbeast 71436ec92b Disable splitting of selections into ranges.
This avoid a large performance regression at the cost of making selections visually less accurate if sections are included with `-moz-user-select: none;`
2018-07-24 23:30:23 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00