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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 21:41:24 PDT 2011


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





--- Comment #20 from Naoki Takano <takano.naoki at gmail.com>  2011-03-14 21:41:24 PST ---
Niwa-san,

I uploaded new patch.

Basically I just move the checking part to more inner function.

Could you review?

Thanks,

(In reply to comment #18)
> (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