- From: Nadya678 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 28 Dec 2017 11:49:40 +0000
- To: public-css-archive@w3.org
Nadya678 has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-ui-4] Please add vertical auto-resize textarea field == https://www.w3.org/TR/css-ui-4/ Equivalent of the code like the textarea will be non-replaced element: ``` textarea { height:auto; display:block; resize:vertical-auto; /* enables vertical height due to size of contained text */ width:100%; box-sizing:border-box; } ``` or precisely the javascript (the div.textarea is styled the same manner like textarea): https://jsfiddle.net/ue2o0uyu/ (not working correctly in non-fixed layout tables with long words and small table) This effect should be possible without CSS+JS horrible hacks... and with better performance. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2141 using your GitHub account
Received on Thursday, 28 December 2017 11:49:44 UTC