mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
60bb642e47
Native IME handler may want to query content relative to start of selection (or composition if there is it). Additionally, in e10s mode, insertion point in actual content may be different from the cache in parent. Therefore, in some cases, it does make sense to query content with offset relative to start of selection or composition. This patch implements it simply and only in non-e10s mode. Additionally, this fixes a bug of nsQueryContentEventResult::GetOffset() which hasn't been accepted its calls even if the event message is valid (eQueryTextContent, eQueryTextRect and eQueryCaretRect). MozReview-Commit-ID: 34I7vyTUAgO --HG-- extra : rebase_source : d79ba0dc3e002f7691495ee1ff8bdb3854d8f6fe |
||
---|---|---|
.. | ||
apps | ||
base | ||
canvas | ||
core | ||
css | ||
events | ||
gamepad | ||
geolocation | ||
html | ||
json | ||
notification | ||
offline | ||
permission | ||
push | ||
range | ||
security | ||
settings | ||
sidebar | ||
smil | ||
storage | ||
stylesheets | ||
svg | ||
traversal | ||
xbl | ||
xpath | ||
xul |