Closed Bug 1732267 Opened 3 years ago Closed 3 years ago

Don't force textarea::placeholder to have white-space: pre-wrap.

Categories

(Core :: Layout: Form Controls, task)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

This comes from https://hg.mozilla.org/mozilla-central/rev/0f28fd24bdf3,
and was done because of implementation limitations which don't apply
anymore (https://bugzilla.mozilla.org/show_bug.cgi?id=737786#c33):

  • white-space changes don't reframe anymore, they only reflow.
  • We fixed reframing of native-anonymous content to do the right thing.

This aligns <textarea> and <input>, so I think it should be
uncontroversial.

See https://github.com/w3c/csswg-drafts/issues/6669 for the discussion
that prompted this.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/64bfebfc3f6c
Make textarea::placeholder honor white-space. r=layout-reviewers,jfkthame
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31010 for changes under testing/web-platform/tests
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: