Closed Bug 1700535 Opened 3 years ago Closed 3 years ago

Make <textarea> inline-block by default

Categories

(Core :: Layout: Form Controls, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

Details

Attachments

(1 file)

In bug 1539469 based on this spec discussion https://github.com/whatwg/html/issues/4082

textarea seems like it should follow the same thing.

(This came up in bug 1700375)

See Also: → 1700375
See Also: → 1539469

This matches Chrome and Safari, as well as what we do for all other <input>s.

<input>s were changed to inline block in 1539469 with a couple of font inflation reftests marked as failing to follow up on. https://hg.mozilla.org/mozilla-central/rev/a1201db1b8cc is the follow up which made inputs not be font inflation containers. The same change for textarea fixes similar reftest failures for textarea. I read through the commit message for the change and doing the same for textareas seems to make sense but I don't understand it in detail.

Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/90e761348ff5
Make textareas inline block by default. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28361 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: