зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1689231 - Use box-sizing: border-box in an <input type=number> test. r=dholbert
With non-native theme, number inputs have zero padding-inline-end by default, so otherwise the test would fail by a few pixels. Differential Revision: https://phabricator.services.mozilla.com/D103246
This commit is contained in:
Родитель
9ea4db0ec1
Коммит
5d69f38941
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<input type="text" style="width: 100px; text-decoration: underline;" value="1234">
|
||||
<input type="text" style="width: 100px; text-decoration: underline; box-sizing: border-box;" value="1234">
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<input type="number" style="width: 100px; -moz-appearance: textfield; text-decoration: underline;" value="1234">
|
||||
<input type="number" style="width: 100px; -moz-appearance: textfield; text-decoration: underline; box-sizing: border-box;" value="1234">
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче