<!DOCTYPE html> | |
<style> | |
table { | |
border-collapse: separate; | |
} | |
#cell { | |
width: 200px; | |
height: 24px; | |
border: 1px solid green; | |
vertical-align: baseline; | |
} | |
#input { | |
display: block; | |
width: 100%; | |
height: 100%; | |
border: none; | |
} | |
</style> | |
Tests layout and painting of table cell after baseline and border changes. | |
<table> | |
<tr> | |
<td id="cell"> | |
<input id="input" value="abc"> | |
</td> | |
</tr> | |
</table> |