[whatwg] <textarea> maxlength vs. wrap (Web Forms 2.0 2004-06-27)
ian at hixie.ch
Wed Aug 25 16:50:02 PDT 2004
On Thu, 12 Aug 2004, Wrigley, Ave wrote:
> This is a very good point. My feeling is that the maxlength should apply
> to the number of characters that are submitted, although I am surprised
> that this is different from the number seen by the DOM. I guess the
> correct implementation would be for the DOM value to include the line
The DOM couldn't include the line breaks; if it did, then changing the
cols attribute dynamically would result in broken wrapping.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg