Bug 217837 - Multi-line placeholder value rendered as single line on <textarea> element
Summary: Multi-line placeholder value rendered as single line on <textarea> element
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 14
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 220499 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-16 12:21 PDT by Peter Ostrander
Modified: 2021-08-19 09:08 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ostrander 2020-10-16 12:21:35 PDT
When adding a placeholder attribute value that contains multiple lines breaks to a <textarea> field, the resulting display renders the placeholder text on a single line, rather than respecting the original formatting.

https://jsfiddle.net/sktLhrcn/
Comment 1 Radar WebKit Bug Importer 2020-10-17 09:56:47 PDT
<rdar://problem/70408722>
Comment 2 Simon Fraser (smfr) 2021-08-19 09:08:41 PDT
*** Bug 220499 has been marked as a duplicate of this bug. ***