Remove unnecessary input line-height

This commit is contained in:
Jonathan Neal 2016-03-16 01:35:22 -04:00
parent d689630ff8
commit 53bd51a093
2 changed files with 0 additions and 15 deletions

9
normalize.css vendored
View File

@ -333,15 +333,6 @@ input:-moz-focusring {
outline: 1px dotted ButtonText; outline: 1px dotted ButtonText;
} }
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/** /**
* It's recommended that you don't attempt to style these elements. * It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width. * Firefox's implementation doesn't respect box-sizing, padding, or width.

View File

@ -375,12 +375,6 @@
<p><input type="submit" value="input (submit)"></p> <p><input type="submit" value="input (submit)"></p>
</div> </div>
<h2 class="Test-describe"><code>input</code></h2>
<h3 class="Test-it">should not inherit <code>line-height</code></h3>
<div class="Test-run" style="line-height:50px">
<input value="input (text)">
</div>
<h2 class="Test-describe"><code>input[type="checkbox"]</code>, <code>input[type="radio"]</code></h2> <h2 class="Test-describe"><code>input[type="checkbox"]</code>, <code>input[type="radio"]</code></h2>
<h3 class="Test-it">should have a <code>border-box</code> box model</h3> <h3 class="Test-it">should have a <code>border-box</code> box model</h3>
<div class="Test-run Test-run--highlightEl" id="radio-box-model"> <div class="Test-run Test-run--highlightEl" id="radio-box-model">