[Webkit-unassigned] [Bug 54443] Textarea maxlength doesn't account for newlines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 09:47:17 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=54443





--- Comment #18 from Ryosuke Niwa <rniwa at webkit.org>  2011-03-14 09:47:17 PST ---
(In reply to comment #17)
> <input type="text" value="\n\n\n" maxlength="3">
> Now I noticed that this doesn't show correct newlines. Does it?

Oops, you're absolutely right.

> Or do you mean as following?
> <textarea value="\n\n\n" maxlength="3">

<textarea maxlength="3">


</textarea>

is what I meant (3 lines in textarea).

> And then after that, do I have to try to insert 4th new line break?

Right.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list