<!DOCTYPE html> | |
<head> | |
<script src="resources/common.js"></script> | |
<style> | |
input { | |
-webkit-appearance: none; | |
font-size: 32px; | |
height: 0px; | |
width: 100px; | |
border-width: 0px; | |
} | |
</style> | |
<body> | |
<!-- The input value must not be shown outside the input border. | |
So, the test result should be just white. --> | |
<input id="textfield"> | |
<script> | |
$('textfield').offsetTop; | |
$('textfield').value = "FAIL"; | |
</script> | |
</body> |