Bug 235205

Summary: Unable to have new lines in HTMLTextArea's placeholder text
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: FormsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, changseok, esprehn+autocc, ews-watchlist, ggaren, gyuyoung.kim, mifenton, peter.ostrander, sam, webkit-bug-importer, wenson_hsieh, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-placeholder
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2022-01-13 14:21:47 PST
Unable to have new lines in HTMLTextArea's placeholder text.

This doesn't match the HTML specification [1] or the behavior or Chrome & Firefox.

[1] https://html.spec.whatwg.org/multipage/form-elements.html#attr-textarea-placeholder
Comment 1 Chris Dumez 2022-01-13 14:30:51 PST
Created attachment 449112 [details]
Patch
Comment 2 Chris Dumez 2022-01-13 16:39:00 PST
Created attachment 449124 [details]
Patch
Comment 3 EWS 2022-01-13 19:15:41 PST
Committed r288005 (246031@main): <https://commits.webkit.org/246031@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449124 [details].
Comment 4 Radar WebKit Bug Importer 2022-01-13 19:16:17 PST
<rdar://problem/87583359>
Comment 5 Alexey Proskuryakov 2022-01-19 13:04:51 PST
Chris, did this fix bug 217837 and/or bug 156399?
Comment 6 Chris Dumez 2022-01-19 13:07:52 PST
(In reply to Alexey Proskuryakov from comment #5)
> Chris, did this fix bug 217837 and/or bug 156399?

I will check shortly and report back. Thanks for the heads up.
Comment 7 Chris Dumez 2022-01-19 15:24:32 PST
*** Bug 217837 has been marked as a duplicate of this bug. ***
Comment 8 Chris Dumez 2022-01-19 15:30:36 PST
(In reply to Chris Dumez from comment #6)
> (In reply to Alexey Proskuryakov from comment #5)
> > Chris, did this fix bug 217837 and/or bug 156399?
> 
> I will check shortly and report back. Thanks for the heads up.

Yes, it fixed one of those. The other one no longer reproduces in shipping so it very likely got fixed but not by my change. I closed both bugs, thanks.