<!doctype html>
<p>Test passes if the input element is truncated beyond 10000px high on Mac.</p>
<form>
<input style="height: 10001px;">
</form>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
window.scrollTo(0, 10100);
}, true);
</script>