- From: R. Scott Granneman <scott@granneman.com>
- Date: Sat, 03 Mar 2001 15:12:56 -0600
- To: "'J. David Bryan'" <jdbryan@acm.org>, "'HTML Tidy List'" <html-tidy@w3.org>
No, your explanation has no bearing here. Whatever is between <textarea> & </textarea> is the *initial value* that shows up in the multiple-line textbox. So the extra spaces that Tidy inserts between <textarea> & </textarea> become part of the initial value, and this is not good, for the reasons I stated in my initial email. This is a bug, pure & simple, unless Dave Raggett tells me otherwise. It should be fixed. Scott ________________________________ R. Scott Granneman, Granneman Information Solutions scott@granneman.com || vox: 314-862-4919 www.granneman.com || fax: 651-319-6023 "I enjoy fireworks but stars is nice too." --- New York City taxi cab driver > -----Original Message----- > From: html-tidy-request@w3.org [mailto:html-tidy-request@w3.org]On > Behalf Of J. David Bryan > Sent: Friday, March 02, 2001 3:01 AM > To: HTML Tidy List > Subject: Re: Problem with <textarea> > > > On 1 Mar 2001, at 17:55, R. Scott Granneman wrote: > > > After running tidy, I noticed that this code is being generated: > > > > <textarea name="textfield" cols="50" rows="4"> > > </textarea> > > > > Because </textarea> is output on the next line, about 50 > characters are > > being inserted between <textarea> & </textarea>. [...] > > > > Any way around this? Isn't this a bug... > > It's a bug, but it would appear to be in your browser, not in > HTML Tidy. > See: > > http://www.w3.org/TR/html401/appendix/notes.html#h-B.3.1 > > ...which states, in part: > > "SGML (see [ISO8879], section 7.6.1) specifies that a line break > immediately following a start tag must be ignored, as must > a line break > immediately before an end tag. This applies to all HTML elements > without exception." > > -- Dave >
Received on Saturday, 3 March 2001 16:17:17 UTC