<!DOCTYPE html> | |
<html> | |
<body> | |
<p>This test ensures padding inside input and textarea elements match.</p> | |
<style type="text/css"> | |
textarea { | |
display: block; | |
font-family: arial,sans-serif; | |
border: none; | |
padding: 0 0 0 10px; | |
margin: 0; | |
resize: none; | |
width: 20px; | |
height: 10px; | |
overflow: hidden; | |
} | |
</style> | |
<textarea>|</textarea> | |
</body> | |
</html> |