Suggest a property for autoresizing textarea

Hi all,

I got redirected from WHATWG about this topic.
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-March/025655.html

It would be nice if there was a single CSS property that fits textarea
hight automatically to its content. It is clear that this feature is
vastly desired and being implemented with JavaScript. (Search
"autoresize textarea" on the web for example)

I would have thought "hight:auto" should do the job, but that wasn't
the case. Can anyone explain why "height:auto" or "max-height:auto"
for textarea does not work for this purpose?

Thanks,
A. TAKAYAMA

Received on Monday, 29 March 2010 13:24:21 UTC