mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-06 04:04:21 +00:00
Merge pull request #533 from necolas/fix/377
Remove unnecessary input line-height
This commit is contained in:
commit
cde926980a
9
normalize.css
vendored
9
normalize.css
vendored
@ -333,15 +333,6 @@ input:-moz-focusring {
|
||||
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.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
|
@ -375,12 +375,6 @@
|
||||
<p><input type="submit" value="input (submit)"></p>
|
||||
</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>
|
||||
<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">
|
||||
|
Loading…
Reference in New Issue
Block a user