[whatwg] <textarea> maxlength vs. wrap (Web Forms 2.0 2004-06-27)

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 
> breaks.

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.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 25 August 2004 16:50:02 UTC