Bug 1597918 - Port bug 1596724: Update input[type="number"] to use class="input-number-mozbox". r=mkmelin

This commit is contained in:
Richard Marti 2019-11-20 18:00:06 +01:00
Родитель 9170c63b8a
Коммит 913bacb269
29 изменённых файлов: 120 добавлений и 70 удалений

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

@ -78,7 +78,8 @@
disable-on-readonly="true"
disable-on-occurrence="true"
selected="true"/>
<html:input id="daily-days" type="number" class="size3"
<html:input id="daily-days" type="number"
class="size3 input-number-mozbox"
min="1" max="32767" value="1"
oninput="updateRecurrenceControls();"
disable-on-readonly="true"
@ -103,7 +104,8 @@
disable-on-readonly="true"
disable-on-occurrence="true"
control="weekly-weeks"/>
<html:input id="weekly-weeks" type="number" class="size3"
<html:input id="weekly-weeks" type="number"
class="size3 input-number-mozbox"
min="1" max="32767" value="1"
oninput="updateRecurrenceControls();"
disable-on-readonly="true"
@ -144,7 +146,8 @@
disable-on-readonly="true"
disable-on-occurrence="true"
control="monthly-interval"/>
<html:input id="monthly-interval" type="number" class="size3"
<html:input id="monthly-interval" type="number"
class="size3 input-number-mozbox"
min="1" max="32767" value="1"
oninput="updateRecurrenceControls();"
disable-on-readonly="true"
@ -290,7 +293,8 @@
<label id="yearly-period-every-label"
value="&event.recurrence.every.label;"
control="yearly-interval"/>
<html:input id="yearly-interval" type="number" class="size3"
<html:input id="yearly-interval" type="number"
class="size3 input-number-mozbox"
min="1" max="32767" value="1"
oninput="updateRecurrenceControls();"
disable-on-readonly="true"
@ -308,7 +312,8 @@
<box id="yearly-period-absolute-controls"
orient="horizontal"
align="center">
<html:input id="yearly-days" type="number" class="size3"
<html:input id="yearly-days" type="number"
class="size3 input-number-mozbox"
min="1" value="1"
oninput="updateRecurrenceControls();"
disable-on-readonly="true"
@ -508,7 +513,8 @@
value="ntimes"
disable-on-readonly="true"
disable-on-occurrence="true"/>
<html:input id="repeat-ntimes-count" type="number" class="size3"
<html:input id="repeat-ntimes-count" type="number"
class="size3 input-number-mozbox"
min="1" max="32767" value="5"
oninput="updateRecurrenceControls();"
disable-on-readonly="true"

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

@ -60,7 +60,8 @@
aria-labelledby="reminder-length reminder-unit reminder-relation-origin"/>
<vbox id="reminder-relative-box" flex="1">
<hbox id="reminder-relative-length-unit-relation" flex="1">
<html:input id="reminder-length" type="number" min="0"
<html:input id="reminder-length" type="number"
class="input-number-mozbox" min="0"
oninput="updateReminder(event)"/>
<menulist id="reminder-unit" oncommand="updateReminder(event)" flex="1">
<menupopup id="reminder-unit-menupopup">

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

@ -67,7 +67,7 @@
<label value="&pref.defaultsnoozelength.label;"
accesskey="&pref.defaultsnoozelength.accesskey;"
control="defaultsnoozelength"/>
<html:input id="defaultsnoozelength" type="number" class="size3"
<html:input id="defaultsnoozelength" type="number" class="size3 input-number-mozbox"
min="0"
preference="calendar.alarms.defaultsnoozelength"
onselect="updateUnitLabelPlural('defaultsnoozelength', 'defaultsnoozelengthunit', 'minutes')"
@ -130,7 +130,7 @@
<hbox class="defaultTimeBox"
align="center"
flex="1">
<html:input id="eventdefalarmlen" type="number" class="size3" min="0"
<html:input id="eventdefalarmlen" type="number" class="size3 input-number-mozbox" min="0"
preference="calendar.alarms.eventalarmlen"
onselect="updateMenuLabelsPlural('eventdefalarmlen', 'eventdefalarmunit')"
oninput="updateMenuLabelsPlural('eventdefalarmlen', 'eventdefalarmunit')"/>
@ -161,7 +161,7 @@
<hbox class="defaultTimeBox"
align="center"
flex="1">
<html:input id="tododefalarmlen" type="number" class="size3" min="0"
<html:input id="tododefalarmlen" type="number" class="size3 input-number-mozbox" min="0"
preference="calendar.alarms.todoalarmlen"
onselect="updateMenuLabelsPlural('tododefalarmlen', 'tododefalarmunit')"
oninput="updateMenuLabelsPlural('tododefalarmlen', 'tododefalarmunit')"/>

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

@ -33,7 +33,8 @@
value="&pref.default_event_task_length.label;"
accesskey="&pref.default_event_task_length.accesskey;"
control="defaultlength"/>
<html:input id="defaultlength" type="number" class="size3"
<html:input id="defaultlength" type="number"
class="size3 input-number-mozbox"
min="0"
preference="calendar.event.defaultlength"
onselect="updateUnitLabelPlural('defaultlength', 'defaultlengthunit', 'minutes')"
@ -77,7 +78,8 @@
</html:td>
<html:td>
<hbox id="default_task_start_offset" align="center">
<html:input id="default_task_start_offset_text" type="number" class="size3"
<html:input id="default_task_start_offset_text" type="number"
class="size3 input-number-mozbox"
min="0"
preference="calendar.task.defaultstartoffset"
onselect="updateMenuLabelsPlural('default_task_start_offset_text', 'default_task_start_offset_units')"
@ -134,7 +136,8 @@
</html:td>
<html:td>
<hbox id="default_task_due_offset" align="center">
<html:input id="default_task_due_offset_text" type="number" class="size3"
<html:input id="default_task_due_offset_text" type="number"
class="size3 input-number-mozbox"
min="0"
preference="calendar.task.defaultdueoffset"
onselect="updateMenuLabelsPlural('default_task_due_offset_text', 'default_task_due_offset_units')"

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

@ -257,7 +257,8 @@
oncommand="snoozeItem(event)"/>
<menuseparator/>
<hbox class="snooze-options-box">
<html:input type="number" class="size3 snooze-value-textbox"
<html:input type="number"
class="size3 input-number-mozbox snooze-value-textbox"
oninput="updateUIText()"
onselect="updateUIText()"/>
<menulist class="snooze-unit-menulist" allowevents="true">

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

@ -374,7 +374,7 @@
value=""/>
<html:input id="percent-complete-textbox"
type="number"
class="size3 input-inline"
class="size3 input-inline input-number-mozbox"
min="0"
max="100"
disable-on-readonly="true"

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

@ -350,14 +350,14 @@
type="number"
maxlength="4"
placeholder="&Year.placeholder;"
class="YearWidth input-inline"/>
class="YearWidth input-inline input-number-mozbox"/>
<label control="Age" value="&Age.label;"/>
<html:input id="Age"
type="number"
min="0"
maxlength="4"
placeholder="&Age.placeholder;"
class="YearWidth input-inline"/>
class="YearWidth input-inline input-number-mozbox"/>
<spacer flex="1"/>
</hbox>
</hbox>

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

@ -42,7 +42,8 @@
accesskey="&widthEditField.accessKey;"/>
</html:th>
<html:td>
<html:input id="width" type="number" class="narrow input-inline"
<html:input id="width" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="widthLabel"/>
</html:td>
<html:td>
@ -57,7 +58,8 @@
accesskey="&heightEditField.accessKey;"/>
</html:th>
<html:td>
<html:input id="height" type="number" class="narrow input-inline"
<html:input id="height" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="heightLabel"/>
</html:td>
<html:td>

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

@ -36,7 +36,9 @@
accesskey="&numRowsEditField.accessKey;"/>
</html:th>
<html:td>
<html:input id="rowsInput" type="number" class="narrow" oninput="ChangeRowOrColumn(this.id)"/>
<html:input id="rowsInput" type="number"
class="narrow input-number-mozbox"
oninput="ChangeRowOrColumn(this.id)"/>
</html:td>
</html:tr>
<html:tr>
@ -46,7 +48,9 @@
accesskey="&numColumnsEditField.accessKey;"/>
</html:th>
<html:td>
<html:input id="columnsInput" type="number" class="narrow" oninput="ChangeRowOrColumn(this.id)"/>
<html:input id="columnsInput" type="number"
class="narrow input-number-mozbox"
oninput="ChangeRowOrColumn(this.id)"/>
</html:td>
</html:tr>
<html:tr>
@ -56,7 +60,9 @@
accesskey="&widthEditField.accessKey;"/>
</html:th>
<html:td>
<html:input id="widthInput" type="number" class="narrow" oninput="forceInteger(this.id)"/>
<html:input id="widthInput" type="number"
class="narrow input-number-mozbox"
oninput="forceInteger(this.id)"/>
</html:td>
<html:td>
<menulist id="widthPixelOrPercentMenulist" class="menulist-narrow"/>
@ -71,7 +77,9 @@
value="&borderEditField.label;"
accesskey="&borderEditField.accessKey;"
tooltiptext="&borderEditField.tooltip;" />
<html:input id="borderInput" type="number" class="narrow" oninput="forceInteger(this.id)" />
<html:input id="borderInput" type="number"
class="narrow input-number-mozbox"
oninput="forceInteger(this.id)" />
<label value="&pixels.label;"/>
</hbox>
<vbox id="AdvancedEdit">

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

@ -56,7 +56,8 @@
<hbox align="center">
<label id="StartingNumberLabel" control="StartingNumber"
value="&startingNumber.label;" accesskey="&startingNumber.accessKey;"/>
<html:input id="StartingNumber" type="number" class="narrow input-inline"
<html:input id="StartingNumber" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="StartingNumberLabel"/>
<spacer/>
</hbox>

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

@ -61,9 +61,11 @@
</hbox>
</vbox>
<vbox>
<html:input id="TableRowsInput" type="number" class="narrow input-inline"
<html:input id="TableRowsInput" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="TableRowsLabel"/>
<html:input id="TableColumnsInput" type="number" class="narrow input-inline"
<html:input id="TableColumnsInput" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="TableColumnsLabel"/>
</vbox>
</hbox>
@ -75,7 +77,8 @@
accesskey="&tableHeight.accessKey;" control="TableHeightInput"/>
</html:div>
<html:div>
<html:input id="TableHeightInput" type="number" class="narrow input-inline"
<html:input id="TableHeightInput" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="TableHeightLabel"/>
</html:div>
<html:div class="flex-items-center">
@ -86,7 +89,8 @@
accesskey="&tableWidth.accessKey;" control="TableWidthInput"/>
</html:div>
<html:div>
<html:input id="TableWidthInput" type="number" class="narrow input-inline"
<html:input id="TableWidthInput" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="TableWidthLabel"/>
</html:div>
<html:div class="flex-items-center">
@ -122,11 +126,14 @@
</hbox>
</vbox>
<vbox>
<html:input id="BorderWidthInput" type="number" class="narrow input-inline"
<html:input id="BorderWidthInput" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="BorderWidthLabel"/>
<html:input id="SpacingInput" type="number" class="narrow input-inline"
<html:input id="SpacingInput" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="SpacingLabel"/>
<html:input id="PaddingInput" type="number" class="narrow input-inline"
<html:input id="PaddingInput" type="number"
class="narrow input-inline input-number-mozbox"
aria-labelledby="PaddingLabel"/>
</vbox>
<vbox>
@ -245,10 +252,12 @@
</hbox>
</vbox>
<vbox flex="1">
<html:input id="CellHeightInput" type="number" class="narrow input-inline"
<html:input id="CellHeightInput" type="number"
class="narrow input-inline input-number-mozbox"
onchange="ChangeIntTextbox('CellHeightCheckbox');"
aria-labelledby="CellHeightCheckbox"/>
<html:input id="CellWidthInput" type="number" class="narrow input-inline"
<html:input id="CellWidthInput" type="number"
class="narrow input-inline input-number-mozbox"
onchange="ChangeIntTextbox('CellWidthCheckbox');"
aria-labelledby="CellWidthCheckbox"/>
</vbox>

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

@ -120,7 +120,7 @@
</html:th>
<html:td>
<html:input id="widthInput" type="number" min="0"
class="narrow input-inline"
class="narrow input-inline input-number-mozbox"
oninput="constrainProportions(this.id,'heightInput')"
aria-labelledby="widthLabel"/>
</html:td>
@ -138,7 +138,7 @@
</html:th>
<html:td>
<html:input id="heightInput" type="number" min="0"
class="narrow input-inline"
class="narrow input-inline input-number-mozbox"
oninput="constrainProportions(this.id,'widthInput')"
aria-labelledby="heightLabel"/>
</html:td>
@ -168,7 +168,7 @@
</html:th>
<html:td>
<html:input id="imageleftrightInput" type="number" min="0"
class="narrow input-inline"
class="narrow input-inline input-number-mozbox"
aria-labelledby="leftrightLabel"/>
</html:td>
<html:td id="leftrighttypeLabel">
@ -185,7 +185,7 @@
</html:th>
<html:td>
<html:input id="imagetopbottomInput" type="number" min="0"
class="narrow input-inline"
class="narrow input-inline input-number-mozbox"
aria-labelledby="topbottomLabel"/>
</html:td>
<html:td id="topbottomtypeLabel">
@ -202,7 +202,7 @@
</html:th>
<html:td>
<html:input id="border" type="number" min="0"
class="narrow input-inline"
class="narrow input-inline input-number-mozbox"
aria-labelledby="borderLabel"/>
</html:td>
<html:td id="bordertypeLabel">

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

@ -34,7 +34,8 @@
<checkbox id="reportIdle" label="&reportIdleAfter.label;"
accesskey="&reportIdleAfter.accesskey;"
preference="messenger.status.reportIdle"/>
<html:input id="timeBeforeAway" type="number" class="size2 idle-reporting-enabled"
<html:input id="timeBeforeAway" type="number"
class="size2 idle-reporting-enabled input-number-mozbox"
min="1" max="720"
preference="messenger.status.timeBeforeIdle"/>
<label value="&idleTime;" control="timeBeforeAway"/>

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

@ -35,7 +35,7 @@
<hbox align="center" pack="start">
<checkbox id="autoSave" label="&autoSave.label;" preference="mail.compose.autosave"
accesskey="&autoSave.accesskey;"/>
<html:input id="autoSaveInterval" type="number" class="size2"
<html:input id="autoSaveInterval" type="number" class="size2 input-number-mozbox"
min="1" max="35790"
preference="mail.compose.autosaveinterval"
aria-labelledby="autoSave autoSaveInterval autoSaveEnd"/>
@ -243,7 +243,7 @@
<checkbox id="enableThreshold"
label="&enableCloudFileAccountOffer.label;"
preference="mail.compose.big_attachments.notify"/>
<html:input id="cloudFileThreshold" type="number" class="size3"
<html:input id="cloudFileThreshold" type="number" class="size3 input-number-mozbox"
preference="mail.compose.big_attachments.threshold_kb"/>
<label control="cloudFileThreshold"
value="&enableCloudFileAccountOffer.mb;"/>

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

@ -57,7 +57,7 @@
type="text"
preference="network.proxy.http"/>
<label value="&HTTPport.label;" accesskey="&HTTPport.accesskey;" control="networkProxyHTTP_Port"/>
<html:input id="networkProxyHTTP_Port" type="number" class="size5" max="65535"
<html:input id="networkProxyHTTP_Port" type="number" class="size5 input-number-mozbox" max="65535"
preference="network.proxy.http_port"/>
</hbox>
</row>
@ -77,7 +77,7 @@
type="text"
preference="network.proxy.ssl"/>
<label value="&SSLport.label;" accesskey="&SSLport.accesskey;" control="networkProxySSL_Port"/>
<html:input id="networkProxySSL_Port" type="number" class="size5" max="65535"
<html:input id="networkProxySSL_Port" type="number" class="size5 input-number-mozbox" max="65535"
preference="network.proxy.ssl_port"/>
</hbox>
</row>
@ -90,7 +90,7 @@
type="text"
preference="network.proxy.socks"/>
<label value="&SOCKSport.label;" accesskey="&SOCKSport.accesskey;" control="networkProxySOCKS_Port"/>
<html:input id="networkProxySOCKS_Port" type="number" class="size5" max="65535"
<html:input id="networkProxySOCKS_Port" type="number" class="size5 input-number-mozbox" max="65535"
preference="network.proxy.socks_port"/>
</hbox>
</row>

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

@ -455,7 +455,7 @@
<radio id="markAsReadAfterDelay" value="true"
label="&markAsReadDelay.label;"
accesskey="&markAsReadDelay.accesskey;"/>
<html:input id="markAsReadDelay" type="number" class="size3"
<html:input id="markAsReadDelay" type="number" class="size3 input-number-mozbox"
min="1" max="2147483"
preference="mailnews.mark_message_read.delay.interval"
aria-labelledby="markAsReadAfterDelay markAsReadDelay secondsLabel"/>
@ -694,7 +694,7 @@
<hbox align="center" class="indent">
<label id="useCacheBefore" control="cacheSize"
accesskey="&useCacheBefore.accesskey;" value="&useCacheBefore.label;"/>
<html:input id="cacheSize" type="number" class="size4" max="1024"
<html:input id="cacheSize" type="number" class="size4 input-number-mozbox" max="1024"
preference="browser.cache.disk.capacity"
aria-labelledby="useCacheBefore cacheSize useCacheAfter"/>
<label id="useCacheAfter" flex="1">&useCacheAfter.label;</label>
@ -706,7 +706,7 @@
aria-labelledby="offlineCompactFolder offlineCompactFolderMin compactFolderMB"
preference="mail.prompt_purge_threshhold"
oncommand="gGeneralPane.updateCompactOptions(this.checked);"/>
<html:input id="offlineCompactFolderMin" type="number" class="size4"
<html:input id="offlineCompactFolderMin" type="number" class="size4 input-number-mozbox"
min="1" max="2048" value="200"
preference="mail.purge_threshhold_mb"
aria-labelledby="offlineCompactFolder offlineCompactFolderMin compactFolderMB"/>

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

@ -29,7 +29,8 @@
control="totalOpenTime"
value="&totalOpenTimeBefore.label;"
accesskey="&totalOpenTimeBefore.accesskey;"/>
<html:input id="totalOpenTime" type="number" class="size3" min="1" max="3600"
<html:input id="totalOpenTime" type="number"
class="size3 input-number-mozbox" min="1" max="3600"
preference="alerts.totalOpenTime"/>
<label id="totalOpenTimeEnd" value="&totalOpenTimeEnd.label;"/>
</hbox>

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

@ -82,7 +82,8 @@
control="port"/>
</div>
<div>
<input id="port" type="number" class="size5 input-inline"
<input id="port" type="number"
class="size5 input-inline input-number-mozbox"
min="1" max="65535"
aria-labelledby="portLabel"
disableiflocked="true"/>
@ -124,7 +125,8 @@
control="results"/>
</div>
<div class="flex-items-center">
<input id="results" type="number" class="size5 input-inline"
<input id="results" type="number"
class="size5 input-inline input-number-mozbox"
min="1" max="2147483647" value="100"
aria-labelledby="returnMaxLabel"/>
<xul:label value="&results.label;"/>

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

@ -117,7 +117,8 @@
<hbox flex="1" align="center">
<radio wsm_persist="true" id="keepNewMsg" accesskey="&retentionKeepRecent.accesskey;"
value="3" label="&retentionKeepRecent.label;" oncommand="onCheckKeepMsg();"/>
<html:input id="retention.keepNewMsgMin" type="number" class="size4" min="1" value="2000"
<html:input id="retention.keepNewMsgMin" type="number"
class="size4 input-number-mozbox" min="1" value="2000"
wsm_persist="true"
aria-labelledby="keepNewMsg retention.keepNewMsgMin retention.keepNewMsgMinLabel"/>
<label value="&message.label;" control="retention.keepNewMsgMin" id="retention.keepNewMsgMinLabel"/>
@ -125,7 +126,8 @@
<hbox flex="1" align="center">
<radio wsm_persist="true" id="keepMsg" accesskey="&retentionDeleteMsg.accesskey;"
value="2" label="&retentionDeleteMsg.label;" oncommand="onCheckKeepMsg();"/>
<html:input id="retention.keepOldMsgMin" type="number" class="size4" min="1" value="30"
<html:input id="retention.keepOldMsgMin" type="number"
class="size4 input-number-mozbox" min="1" value="30"
wsm_persist="true"
aria-labelledby="keepMsg retention.keepOldMsgMin retention.keepOldMsgMinLabel"/>
<label value="&daysOld.label;" control="retention.keepOldMsgMin" id="retention.keepOldMsgMinLabel"/>

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

@ -133,7 +133,8 @@
<label id="serverPortLabel" control="serverPort"
accesskey="&portNum.accesskey;"
value="&portNum.label;"/>
<html:input id="serverPort" type="number" class="size3 input-inline" max="65535"/>
<html:input id="serverPort" type="number"
class="size3 input-inline input-number-mozbox" max="65535"/>
<label id="defaultPortLabel" value="&defaultPortLabel.label;"/>
<label id="defaultPortValue" value="&defaultPortValue.label;"/>
</hbox>

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

@ -61,7 +61,8 @@
prefstring="mail.smtpserver.%serverkey%.hostname"
aria-labelledby="smtp.hostname.label"/>
<hbox align="center">
<html:input id="smtp.port" type="number" class="size5 input-inline"
<html:input id="smtp.port" type="number"
class="size5 input-inline input-number-mozbox"
min="0" max="65535"
preftype="int"
prefstring="mail.smtpserver.%serverkey%.port"/>

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

@ -197,7 +197,8 @@
accesskey="&purge1.accesskey;"
oncommand="updateJunkRetention();"
label="&purge1.label;"/>
<html:input id="server.purgeSpamInterval" type="number" class="size3 input-inline" min="1"
<html:input id="server.purgeSpamInterval" type="number"
class="size3 input-inline input-number-mozbox" min="1"
genericattr="true"
pref="true"
wsm_persist="true"

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

@ -65,7 +65,8 @@
<hbox flex="1" align="center">
<radio id="useAutosync.ByAge" accesskey="&ageAutosync.accesskey;"
value="1" label="&ageAutosyncBefore.label;" oncommand="onAutosyncChange();"/>
<html:input id="autosyncValue" type="number" class="size4 input-inline autosync" min="1"
<html:input id="autosyncValue" type="number"
class="size4 input-inline autosync input-number-mozbox" min="1"
onchange="onAutosyncChange();"
aria-labelledby="ageAutosyncBefore autosyncValue ageAutosyncMiddle autosyncInterval ageAutosyncAfter"/>
<label id="ageAutosyncMiddle" control="autosyncValue" value="&ageAutosyncMiddle.label;"/>
@ -97,7 +98,8 @@
label="&autosyncNotDownload.label;"
accesskey="&autosyncNotDownload.accesskey;"
oncommand="onAutosyncNotDownload();"/>
<html:input id="offline.notDownloadMin" type="number" class="size4 input-inline"
<html:input id="offline.notDownloadMin" type="number"
class="size4 input-inline input-number-mozbox"
min="1" value="50"
wsm_persist="true"
aria-labelledby="offline.notDownload offline.notDownloadMin kbLabel"/>
@ -109,7 +111,8 @@
label="&nntpDownloadMsg.label;"
accesskey="&nntpDownloadMsg.accesskey;"
oncommand="onCheckItem('nntp.downloadMsgMin', 'nntp.downloadMsg');"/>
<html:input id="nntp.downloadMsgMin" type="number" class="size2 input-inline" min="1" value="30"
<html:input id="nntp.downloadMsgMin" type="number"
class="size2 input-inline input-number-mozbox" min="1" value="30"
wsm_persist="true"
aria-labelledby="nntp.downloadMsg nntp.downloadMsgMin daysOldLabel"/>
<label value="&daysOld.label;" control="nntp.downloadMsgMin"
@ -129,7 +132,8 @@
<hbox flex="1" align="center">
<radio id="retention.keepNewMsg" accesskey="&retentionKeepRecent.accesskey;"
value="3" label="&retentionKeepRecent.label;" oncommand="onCheckKeepMsg();"/>
<html:input id="retention.keepNewMsgMin" type="number" class="size4 input-inline"
<html:input id="retention.keepNewMsgMin" type="number"
class="size4 input-inline input-number-mozbox"
min="1" value="2000"
aria-labelledby="retention.keepNewMsg retention.keepNewMsgMin newMsgLabel"/>
<label value="&message.label;" control="retention.keepNewMsgMin" id="newMsgLabel"/>
@ -137,7 +141,8 @@
<hbox flex="1" align="center">
<radio id="retention.keepOldMsg" accesskey="&retentionKeepMsg.accesskey;"
value="2" label="&retentionKeepMsg.label;" oncommand="onCheckKeepMsg();"/>
<html:input id="retention.keepOldMsgMin" type="number" class="size4 input-inline" min="1" value="30"
<html:input id="retention.keepOldMsgMin" type="number"
class="size4 input-inline input-number-mozbox" min="1" value="30"
aria-labelledby="retention.keepOldMsg retention.keepOldMsgMin oldMsgLabel"/>
<label value="&daysOld.label;" control="retention.keepOldMsgMin" id="oldMsgLabel"/>
</hbox>
@ -152,7 +157,8 @@
<hbox align="center" class="indent" hidefor="movemail,pop3,imap,none,rss">
<checkbox id="nntp.removeBody" accesskey="&nntpRemoveMsgBody.accesskey;"
label="&nntpRemoveMsgBody.label;" oncommand="onCheckItem('nntp.removeBodyMin', 'nntp.removeBody');"/>
<html:input id="nntp.removeBodyMin" type="number" class="size2 input-inline" min="1" value="30"
<html:input id="nntp.removeBodyMin" type="number"
class="size2 input-inline input-number-mozbox" min="1" value="30"
aria-labelledby="nntp.removeBody nntp.removeBodyMin daysOldMsg"/>
<label value="&daysOld.label;" control="nntp.removeBodyMin" id="daysOldMsg"/>
</hbox>

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

@ -56,7 +56,7 @@
value="&maximumConnectionsNumber.label;"
accesskey="&maximumConnectionsNumber.accesskey;"/>
<html:input id="maximumConnectionsNumber" type="number"
class="size3 input-inline"
class="size3 input-inline input-number-mozbox"
min="1" max="1000"
amsa_persist="true"
aria-labelledby="maximumConnectionsNumberLabel"/>

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

@ -68,7 +68,8 @@
accesskey="&port.accesskey;" control="server.port"/>
<xul:label id="fixedServerPort"
collapsed="true" use="server.port"/>
<html:input id="server.port" type="number" class="size3 input-inline"
<html:input id="server.port" type="number"
class="size3 input-inline input-number-mozbox"
min="1" max="65535"
wsm_persist="true"
preftype="int"
@ -169,7 +170,8 @@
oncommand="onCheckItem('server.biffMinutes', [this.id]);"
prefattribute="value"
prefstring="mail.server.%serverkey%.check_new_mail"/>
<html:input id="server.biffMinutes" type="number" class="size3 input-inline" min="1"
<html:input id="server.biffMinutes" type="number"
class="size3 input-inline input-number-mozbox" min="1"
wsm_persist="true"
aria-labelledby="server.doBiff server.biffMinutes biffEnd"
preftype="int"
@ -216,7 +218,8 @@
accesskey="&deleteByAgeFromServer.accesskey;"
prefattribute="value"
prefstring="mail.server.%serverkey%.delete_by_age_from_server"/>
<html:input id="pop3.numDaysToLeaveOnServer" type="number" class="size3 input-inline" min="1"
<html:input id="pop3.numDaysToLeaveOnServer" type="number"
class="size3 input-inline input-number-mozbox" min="1"
wsm_persist="true"
aria-labelledby="pop3.deleteByAgeFromServer pop3.numDaysToLeaveOnServer daysEnd"
preftype="int"
@ -337,7 +340,8 @@
oncommand="onCheckItem('nntp.maxArticles', [this.id]);"
prefattribute="value"
prefstring="mail.server.%serverkey%.notify.on"/>
<html:input id="nntp.maxArticles" type="number" class="size4 input-inline" min="1"
<html:input id="nntp.maxArticles" type="number"
class="size4 input-inline input-number-mozbox" min="1"
wsm_persist="true"
aria-labelledby="nntp.notifyOn nntp.maxArticles maxMessagesEnd"
preftype="int"

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

@ -799,7 +799,7 @@
</menupopup>
</menulist>
<html:input type="number"
class="input-inline search-value-textbox"
class="input-inline search-value-textbox input-number-mozbox"
inherits="disabled"/>
<hbox flex="1"
class="search-value-custom"

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

@ -71,7 +71,7 @@
label="&biffStart.label;"
accesskey="&biffStart.accesskey;"
oncommand="setPrefs(this)"/>
<html:input id="updateValue" type="number" class="size3" min="1"
<html:input id="updateValue" type="number" class="size3 input-number-mozbox" min="1"
aria-labelledby="updateEnabled updateValue biffMinutes biffDays"
onchange="setPrefs(this)"/>
<radiogroup id="biffUnits"

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

@ -148,7 +148,7 @@
label="&biffStart.label;"
accesskey="&biffStart.accesskey;"
oncommand="FeedSubscriptions.setPrefs(this);"/>
<html:input id="updateValue" type="number" class="size3" min="1"
<html:input id="updateValue" type="number" class="size3 input-number-mozbox" min="1"
aria-labelledby="updateEnabled updateValue biffMinutes biffDays recommendedUnits recommendedUnitsVal"
oninput="FeedSubscriptions.setPrefs(this);"
onchange="FeedSubscriptions.setPrefs(this);"/>

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

@ -28,7 +28,7 @@
accesskey="&download.accesskey;"
oncommand="setupDownloadUI(true);"
aria-labelledby="some number headers"/>
<html:input id="number" type="number" min="1"
<html:input id="number" type="number" class="input-number-mozbox" min="1"
aria-labelledby="some number headers"/>
<label id="headers" control="number"
value="&headers.label;" accesskey="&headers.accesskey;"/>