RESOLVED FIXED Bug 51290
REGRESSION (r72052): Placeholder text does not wrap in a textarea
https://bugs.webkit.org/show_bug.cgi?id=51290
Summary REGRESSION (r72052): Placeholder text does not wrap in a textarea
Paul Irish
Reported 2010-12-18 10:49:36 PST
When using <textarea placeholder="long long value which ..."> the text does not wrap. The spec isn't very clear about correct handling of line-wrapping, but I can't imagine this is correct behavior. Test case: http://jsfiddle.net/6hb7g/o
Attachments
Test Case (160 bytes, text/html)
2010-12-18 23:18 PST, Daniel Bates
no flags
Daniel Bates
Comment 1 2010-12-18 23:15:22 PST
Confirmed changeset 72052 <http://trac.webkit.org/changeset/72052> (Bug #49452) regressed placeholder text wrapping in <textarea>.
Daniel Bates
Comment 2 2010-12-18 23:18:30 PST
Created attachment 76954 [details] Test Case A derivative of <http://jsfiddle.net/6hb7g/>.
Alexey Proskuryakov
Comment 3 2010-12-19 12:55:38 PST
Regression -> P1
Adele Peterson
Comment 4 2010-12-20 10:34:35 PST
ok. I'll have to figure something out. I really don't want to go back to swapping the text in and out, but maybe we do need a RenderText object for the placeholder to get this right.
Adele Peterson
Comment 5 2010-12-20 10:46:11 PST
Adele Peterson
Comment 6 2010-12-20 14:37:42 PST
Do we know of any real world sites that have placeholders that hit this bug?
Stefan Pauwels
Comment 7 2011-02-14 05:05:41 PST
One real world site that hits this bug: cuuks.com Add 2 or more ingredients on http://cuuks.com/combine Chrome does not wrap the text (thereby hiding part of it), while firefox does.
David Bourguignon
Comment 8 2011-06-07 08:22:59 PDT
an other public url is for instance : http://www.mygaytrip.com/guide/lords-south-beach-hotel The text area at the end it correct in current Safari (5.0.5) but break in nightly webkit
Kent Tamura
Comment 9 2011-07-11 00:18:19 PDT
Kent Tamura
Comment 10 2011-07-13 19:17:54 PDT
Kent Tamura
Comment 11 2011-09-09 18:45:35 PDT
*** Bug 67834 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.