ea.test {
  width: 100px;
  height: 100px;
  font: 105px/1 Ahem;
  padding: 10px;
}

input[type="search"].test {
  box-sizing: content-box;
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.test')">
<input type="text" value="X" class="test" data-expected-scroll-height="120"><br>
<input type="number" value="1" class="test" data-expected-scroll-height="120"><br>
