[whatwg] Suggest textarea @autoresize attribute

ATSUSHI TAKAYAMA taka.atsushi at googlemail.com
Sat Mar 27 22:27:03 PDT 2010

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?


More information about the whatwg mailing list