Bug 1562664 - Replace XUL textbox usages with HTML inputs in editBookmarkPanel.inc.xul r=bgrins

Differential Revision: https://phabricator.services.mozilla.com/D36495

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tim Nguyen 2019-09-25 22:39:25 +00:00
Родитель 874ba5d4c5
Коммит 8af78c3acc
2 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -13,8 +13,8 @@
<label value="&editBookmarkOverlay.name.label;"
accesskey="&editBookmarkOverlay.name.accesskey;"
control="editBMPanel_namePicker"/>
<textbox id="editBMPanel_namePicker"
onchange="gEditItemOverlay.onNamePickerChange().catch(Cu.reportError);"/>
<html:input id="editBMPanel_namePicker"
onchange="gEditItemOverlay.onNamePickerChange().catch(Cu.reportError);"/>
</vbox>
<vbox id="editBMPanel_locationRow"
@ -22,9 +22,9 @@
<label value="&editBookmarkOverlay.location.label;"
accesskey="&editBookmarkOverlay.location.accesskey;"
control="editBMPanel_locationField"/>
<textbox id="editBMPanel_locationField"
class="uri-element"
onchange="gEditItemOverlay.onLocationFieldChange();"/>
<html:input id="editBMPanel_locationField"
class="uri-element"
onchange="gEditItemOverlay.onLocationFieldChange();"/>
</vbox>
<vbox id="editBMPanel_folderRow"
@ -119,8 +119,8 @@
<label value="&editBookmarkOverlay.keyword.label;"
accesskey="&editBookmarkOverlay.keyword.accesskey;"
control="editBMPanel_keywordField"/>
<textbox id="editBMPanel_keywordField"
onchange="gEditItemOverlay.onKeywordFieldChange();"/>
<html:input id="editBMPanel_keywordField"
onchange="gEditItemOverlay.onKeywordFieldChange();"/>
</vbox>
</vbox>
</vbox>

Просмотреть файл

@ -320,7 +320,7 @@
%include ../shared/places/editBookmarkPanel.inc.css
#editBookmarkPanelRows > vbox > textbox,
#editBookmarkPanelRows > vbox > html|input,
#editBookmarkPanelRows > vbox > hbox > html|input {
-moz-appearance: none;
background-color: var(--arrowpanel-field-background);
@ -331,7 +331,7 @@
padding: 3px 6px;
}
#editBookmarkPanelRows > vbox > textbox[focused="true"],
#editBookmarkPanelRows > vbox > html|input:focus,
#editBookmarkPanelRows > vbox > hbox > html|input:focus {
border-color: -moz-mac-focusring !important;
box-shadow: var(--focus-ring-box-shadow);