- From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
- Date: Sat, 15 Sep 2007 15:07:30 +0100
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: whatwg-bounces at lists.whatwg.org > [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Garrett Smith > Sent: Friday, September 14, 2007 2:53 AM > To: whatwg at whatwg.org > 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? >
Received on Saturday, 15 September 2007 07:07:30 UTC