summaryrefslogtreecommitdiffstats
path: root/layout/style/nsDOMCSSRect.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-12 12:52:18 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-12 12:52:18 +0200
commita2bc0e0ec6da3a689fa08cb02a9d65889de60f7c (patch)
treee67e9e0b7891279e5f80b6d967431a7a2315915c /layout/style/nsDOMCSSRect.cpp
parent552470fb6f3e7b3028e725e0affc6e4f5550c511 (diff)
downloadUXP-a2bc0e0ec6da3a689fa08cb02a9d65889de60f7c.tar
UXP-a2bc0e0ec6da3a689fa08cb02a9d65889de60f7c.tar.gz
UXP-a2bc0e0ec6da3a689fa08cb02a9d65889de60f7c.tar.lz
UXP-a2bc0e0ec6da3a689fa08cb02a9d65889de60f7c.tar.xz
UXP-a2bc0e0ec6da3a689fa08cb02a9d65889de60f7c.zip
Issue #1512 - Improve handling of multiple selections.
IsSelectionEditable should check whether the focus node and anchor node aren't null before trying to use them. This also changes the initialization of selections' aOutIndex to the last range in the selection as a fallback in case we don't add a range later (in AddItem) which could also end up with a null selection otherwise if the additional selection nodes are removed.
Diffstat (limited to 'layout/style/nsDOMCSSRect.cpp')
0 files changed, 0 insertions, 0 deletions