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

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

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