зеркало из https://github.com/mozilla/pjs.git
Bug 681640 - Tapping on a form field in Fennec should position the caret at the location of the tap [r=mfinkle]
This commit is contained in:
Родитель
2c2b76690f
Коммит
d211b5703d
|
@ -495,8 +495,13 @@ let Content = {
|
|||
if (uri)
|
||||
sendAsyncMessage("Browser:OpenURI", { uri: uri,
|
||||
referrer: element.ownerDocument.documentURIObject.spec });
|
||||
} else if (!this._formAssistant.open(element) && this._highlightElement) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (!this._formAssistant.open(element))
|
||||
sendAsyncMessage("FindAssist:Hide", { });
|
||||
|
||||
if (this._highlightElement) {
|
||||
this._sendMouseEvent("mousemove", this._highlightElement, x, y);
|
||||
this._sendMouseEvent("mousedown", this._highlightElement, x, y);
|
||||
this._sendMouseEvent("mouseup", this._highlightElement, x, y);
|
||||
|
|
Загрузка…
Ссылка в новой задаче