New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 596326 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature



Sign in to add a comment

Feature request: Auto-resize textarea

Reported by craig.fr...@gmail.com, Mar 20 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

Steps to reproduce the problem:
Allow the following CSS to automatically change the height of a <textarea> depending on its content:

textarea {
    height: max-content;
}

What is the expected behavior?

What went wrong?
N/A

Did this work before? N/A 

Chrome version: 49.0.2623.87  Channel: stable
OS Version: OS X 10.11.3
Flash Version: Shockwave Flash 21.0 r0

This is related to the iframe resize request:

https://crbug.com/584913
https://github.com/craigfrancis/iframe-height
 
Cc: tkonch...@chromium.org
Status: Untriaged (was: Unconfirmed)
Confirming the issue as this is a feature request.

Waiting for further inputs on this.


Comment 2 by rsesek@chromium.org, Mar 21 2016

Components: Blink>CSS
Labels: -OS-Mac OS-All

Comment 3 by timloh@chromium.org, Mar 21 2016

Components: Blink>Layout
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
I can confirm this is a feature request (as per the title).

The github.com link (above) demonstrates this is a common problem that developers currently fix with buggy JavaScript.

This "Issue" has been raised on other browsers bug reporters, prompting them to implement this feature, and for the W3C to eventually standardise it.

The discussion has currently halted on the `www-style@w3.org` mailing list:

https://lists.w3.org/Archives/Public/www-style/2016Mar/0198.html

For a working demo (also attached), please see:

https://craigfrancis.github.io/iframe-height/additional/textarea/
index.html
2.9 KB View Download
jquery.autoresize.js
2.8 KB View Download

Comment 5 by e...@chromium.org, Feb 9 2017

Status: WontFix (was: Available)
We're not going to implement this unless it is standardized, the web needs fewer browser specific quirks, not more of them.
Please follow up with the w3c if this is something you care about.

Sign in to add a comment