Re: HTML 2.0 LAST CALL: <TEXTAREA> content

Ka-Ping Yee (kryee@calum.csclub.uwaterloo.ca)
Thu, 15 Jun 95 14:00:46 EDT

Ka-Ping Yee wrote: (P>)
Daniel W. Connolly replied: (D>)

P> http://www.acl.lanl.gov/HTML_WG/html-wg-95q2.messages/1189.html
P>
P> The suggestion is to clarify the interpretation of <TEXTAREA> block
P> content

D> Most of your suggestions are redundant -- they're specified by the
D> SGML spec and the HTML DTD.

Indeed, but *everything* is already specified in the SGML spec and the
HTML DTD. If the goal of the HTML spec document is to let implementors
and document authors know how HTML behaves, there should at least be
some mention of the word "preformatted" in the section for <TEXTAREA>.

The current spec says only

The content of the TEXTAREA element is the field's initial value.

After this, we could add something as simple as

Within this content, spaces, line breaks, and tabs are to be taken
literally as part of the field data.

The issue of tags within TEXTAREA content also needs to be addressed.
If i read the DTD correctly, it allows any tag except INPUT, SELECT,
or TEXTAREA to appear within the content of <TEXTAREA>. What is this
supposed to mean?

I suggest a note such as:

Although tags within the content of a TEXTAREA element are allowed,
use of markup here is discouraged as it has no defined meaning.

P> and fix the introductory paragraph on "Characters, Words,
P> and Paragraphs" since whitespace is not collapsed in this content.

D> I fixed this section. Check the next revision and see what you think.

That's great. It's better now.

Ping (Ka-Ping Yee): 2B Computer Engineering, University of Waterloo, Canada
kryee@csclub.uwaterloo.ca | 62A Churchill St, Waterloo, N2L 2X2, 519 886-3947
CWSF 89, 90, 92; LIYSF 90, 91; Shad Valley 92; DOE 93; IMO 91, 93; ACMICPC 94
! Ayukawa Madoka ! Hiyama Hikaru ! Tendou Akane ! Hayakawa Moemi ! Amano Ai !
WWW maintainer for the Canadian Space Agency - <http://www.dsm.sp-agency.ca/>