<!DOCTYPE html> | |
<style> | |
input, button { | |
display: table-cell; | |
width: 50px; | |
height: 100px; | |
background: blue; | |
border: none; | |
padding: 0; | |
vertical-align: bottom; | |
} | |
</style> | |
<p>crbug.com/515771: Form elements with a table cell display should not allow whitespace between them. </p> | |
<p>There should be a blue square below.</p> | |
<div style="display:table;"> | |
<div></div> | |
<input> | |
<button></button> | |
</div> |