Bug 106797

Summary: Text Autosizing: Scale up form controls along with surrounding text.
Product: WebKit Reporter: John Mellor <johnme>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: abarth, avayvod, dbates, timvolodine
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://bugs.webkit.org/
Bug Depends on: 102560    
Bug Blocks: 84186    

Description John Mellor 2013-01-14 07:47:38 PST
This is a follow-up to bug 102560, in which autosizing of most form controls was disabled as a short-term measure, because previously they were autosized inconsistently (and sometimes brokenly).

Prior to that:
- We could resize a <button>
- We could resize a <select>, but its width ended up incorrect
- We couldn't resize a <input type="text">
- We couldn't resize a <input type="checkbox">

I believe we still autosize <textarea>s, but only when they contain a certain amount of text, which is itself inconsistent.

The current behavior is acceptable, but it would be preferable to instead find a way to seamlessly scale up form controls whenever surrounding text is autosized, rather like in bug 102509.

For example see the attached screenshot of bugs.webkit.org: the login form in the middle of the page looks de-emphasized and out of place, because we were unable to autosize it.

If there are any efforts to provide larger buttons by default on mobile, then we should make sure to coordinate with those.
Comment 1 Daniel Bates 2016-09-19 15:13:09 PDT
Marking this bug Resolved WontFix because the TEXT_AUTOSIZING feature was removed in <https://trac.webkit.org/changeset/206119> (bug #162167). See bug 84186, comment 32 for more details.