W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

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

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 25 Aug 2004 23:50:02 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408252349340.21417@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC