Commit Graph

6 Commits

Author SHA1 Message Date
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 27b63aa0cc Add a way to prevent having to cast selections.
TODO: Needs a follow-up to convert existing static_cast<Selection*>(aSelection) occurrences to AsSelection().
2018-07-25 06:58:25 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00