Bug 235205 - Unable to have new lines in HTMLTextArea's placeholder text
Summary: Unable to have new lines in HTMLTextArea's placeholder text
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/multipag...
Keywords: InRadar
: 217837 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-13 14:21 PST by Chris Dumez
Modified: 2022-01-19 15:30 PST (History)
13 users (show)

See Also:


Attachments
Patch (8.71 KB, patch)
2022-01-13 14:30 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (8.33 KB, patch)
2022-01-13 16:39 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.