[whatwg] Suggest textarea @autoresize attribute

Hi all,

I suggest @autoresize attribute (auto-resize in terms of height, of
course). I don't know what's the rationale (or historical reason) why
"height:auto" of CSS doesn't do what I expect for a textarea, but I
think it would be nice to have this feature in HTML spec.

As many sites implement autoresizing textarea already by JavaScript,
Facebook for instance, there is definitely needs for it. And since
there is already @autofocus attribute, it isn't a crazy idea.

The height of a textarea may be limited by max-height style IMO.

How does that sound?

A. TAKAYAMA

Received on Saturday, 27 March 2010 22:27:03 UTC