Presumably return a MIME type e.g. text/plain, text/html. IIRC this idea
was never fully thought out. Many textareas accepting HTML actually want
a fragment and often only a subset of markup. It would be handy to have
some way of specifying such profiles for clientside authoring tools to use.
--
Benjamin Hawkes-Lewis
Kristof Zelechovski wrote:
If I were one, I would return "text", just like it does in an input control
does.
Cheers
Chris
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Garrett Smith
Sent: Friday, September 14, 2007 2:53 AM
To: [EMAIL PROTECTED]
Subject: [whatwg] WF 2.0 -- HTMLTextAreaElement [ type ] attribute
Regarding the [type] attribute:
================================================
interface HTMLTextAreaElement : HTMLElement {
attribute DOMString defaultValue;
readonly attribute HTMLFormElement form;
attribute DOMString accessKey;
attribute long cols;
attribute boolean disabled;
attribute DOMString name;
attribute boolean readOnly;
attribute long rows;
attribute long tabIndex;
readonly attribute DOMString type;
================================================
What does the |type| attribute do?