Bug 217837

Summary: Multi-line placeholder value rendered as single line on <textarea> element
Product: WebKit Reporter: Peter Ostrander <peter.ostrander>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: akeerthi, cdumez, claude.pache, webkit-bug-importer, webkit.org, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac   
OS: macOS 10.15   

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. ***
Comment 3 Chris Dumez 2022-01-19 15:24:32 PST
This was fixed in Bug 235205. Thanks for reporting.

*** This bug has been marked as a duplicate of bug 235205 ***