Bug 106797 - Text Autosizing: Scale up form controls along with surrounding text.
Summary: Text Autosizing: Scale up form controls along with surrounding text.
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P3 Normal
Assignee: Nobody
URL: https://bugs.webkit.org/
Depends on: 102560
Blocks: FontBoosting
  Show dependency treegraph
Reported: 2013-01-14 07:47 PST by John Mellor
Modified: 2016-09-19 15:13 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.