<textarea name="content" rows="1" onpropertychange="this.style.height=this.scrollHeight+'px';" οninput="this.style.height=this.scrollHeight+'px';" style="overflow:hidden;height:16px;"></textarea>
<textarea name="content" rows="1" onpropertychange="this.style.height=this.scrollHeight+'px';" οninput="this.style.height=this.scrollHeight+'px';" style="overflow:hidden;height:16px;"></textarea>