Skip to content

Commit 53bd51a

Browse files
author
Jonathan Neal
committed
Remove unnecessary input line-height
1 parent d689630 commit 53bd51a

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

normalize.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -333,15 +333,6 @@ input:-moz-focusring {
333333
outline: 1px dotted ButtonText;
334334
}
335335

336-
/**
337-
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
338-
* the UA stylesheet.
339-
*/
340-
341-
input {
342-
line-height: normal;
343-
}
344-
345336
/**
346337
* It's recommended that you don't attempt to style these elements.
347338
* Firefox's implementation doesn't respect box-sizing, padding, or width.

test.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -375,12 +375,6 @@ <h3 class="Test-it">should not have extra inner padding in Firefox</h3>
375375
<p><input type="submit" value="input (submit)"></p>
376376
</div>
377377

378-
<h2 class="Test-describe"><code>input</code></h2>
379-
<h3 class="Test-it">should not inherit <code>line-height</code></h3>
380-
<div class="Test-run" style="line-height:50px">
381-
<input value="input (text)">
382-
</div>
383-
384378
<h2 class="Test-describe"><code>input[type="checkbox"]</code>, <code>input[type="radio"]</code></h2>
385379
<h3 class="Test-it">should have a <code>border-box</code> box model</h3>
386380
<div class="Test-run Test-run--highlightEl" id="radio-box-model">

0 commit comments

Comments
 (0)