зеркало из https://github.com/mozilla/pjs.git
Don't use quirky box-sizing for image inputs. Bug 191967, r+sr=dbaron, a=asa
This commit is contained in:
Родитель
6e44144762
Коммит
f051e65d94
|
@ -290,7 +290,7 @@ img[align=right] {
|
|||
* Quirk: Use border-box box sizing for text inputs, password inputs, and
|
||||
* textareas. (b=184478 on why we use content-box sizing in standards mode)
|
||||
*/
|
||||
input, textarea {
|
||||
input:not([type=image]), textarea {
|
||||
/* Note that all other <input>s already use border-box
|
||||
sizing, so we're ok with this selector */
|
||||
-moz-box-sizing: border-box;
|
||||
|
|
|
@ -290,7 +290,7 @@ img[align=right] {
|
|||
* Quirk: Use border-box box sizing for text inputs, password inputs, and
|
||||
* textareas. (b=184478 on why we use content-box sizing in standards mode)
|
||||
*/
|
||||
input, textarea {
|
||||
input:not([type=image]), textarea {
|
||||
/* Note that all other <input>s already use border-box
|
||||
sizing, so we're ok with this selector */
|
||||
-moz-box-sizing: border-box;
|
||||
|
|
Загрузка…
Ссылка в новой задаче