Created attachment 417343 [details]
Screenshot of error.
Placeholder text in a textarea can have newlines. But WebKit strips them out.
Steps to reproduce:
Create a `<textarea>` with a multi-line placeholder.
<textarea placeholder="In loving memory of
Buffy Anne Summers
She saved the world
The placeholder renders as a single line. The newlines are removed and there's no replacement whitespace:
`In loving memory ofBuffy Anne SummersShe saved the worldA lot...`
Placeholder should display over multiple lines.
> User agents should present this hint to the user when the element’s value is the empty string and the control is not focused (e.g., by displaying it inside a blank unfocused control). All U+000D CARRIAGE RETURN U+000A LINE FEED character pairs (CRLF) in the hint, as well as all other U+000D CARRIAGE RETURN (CR) and U+000A LINE FEED (LF) characters in the hint, must be treated as line breaks when rendering the hint.
I've tested this on WebKitGTK 2.30.4 on Linux, and seen the problem on the latest Safari for iPhone.
(This bug was also reported to Firefox, and fixed - https://bugzilla.mozilla.org/show_bug.cgi?id=1391044)
This is a duplicate of Bug 217837
*** This bug has been marked as a duplicate of bug 217837 ***