зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1551834 - Move legacy autocomplete attributes from shared browser.xul markup to the legacy-urlbar binding. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D31227 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
32c011ff8e
Коммит
763c907557
|
@ -846,14 +846,6 @@
|
|||
placeholder="&urlbar.placeholder2;"
|
||||
defaultPlaceholder="&urlbar.placeholder2;"
|
||||
focused="true"
|
||||
type="autocomplete"
|
||||
autocompletesearch="unifiedcomplete"
|
||||
autocompletesearchparam="enable-actions"
|
||||
autocompletepopup="PopupAutoCompleteRichResult"
|
||||
completeselectedindex="true"
|
||||
tabscrolling="true"
|
||||
ontextentered="this.handleCommand(param);"
|
||||
ontextreverted="return this.handleRevert();"
|
||||
pageproxystate="invalid">
|
||||
<!-- Use onclick instead of normal popup= syntax since the popup
|
||||
code fires onmousedown, and hence eats our favicon drag events. -->
|
||||
|
|
|
@ -57,7 +57,15 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||
</binding>
|
||||
|
||||
<binding id="legacy-urlbar" extends="chrome://global/content/bindings/autocomplete.xml#autocomplete">
|
||||
<content newlines="stripsurroundingwhitespace">
|
||||
<content newlines="stripsurroundingwhitespace"
|
||||
type="autocomplete"
|
||||
autocompletesearch="unifiedcomplete"
|
||||
autocompletesearchparam="enable-actions"
|
||||
autocompletepopup="PopupAutoCompleteRichResult"
|
||||
completeselectedindex="true"
|
||||
tabscrolling="true"
|
||||
ontextentered="this.handleCommand(param);"
|
||||
ontextreverted="return this.handleRevert();">
|
||||
<children includes="box"/>
|
||||
<xul:moz-input-box anonid="moz-input-box"
|
||||
tooltip="aHTMLTooltip"
|
||||
|
|
Загрузка…
Ссылка в новой задаче