[whatwg] textarea accept attribute -- solution to rich text editing in WF2?

On Tue, 23 Aug 2005, Dimitri Glazkov wrote:
>
> I may have spoken too soon on the absence of rich text editing textarea 
> in WF2.
> 
> Looking at the spec, there is an accept attribute for the textarea 
> element, and its description fits the bill very nicely. If we have 
> accept="text/html" or accept="application/xml+xhtml", it is totally up 
> to the UA to provide a specialized editor -- the HTML editor in this 
> case.
> 
> Am I right on this one?

Yes, but note that the UA is not required to perform any validating or 
anything. In practice I doubt we'll ever see useful implementations 
(whereas we already have useful, and used, implementations of the 
contentEditable feature).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 23 August 2005 20:18:03 UTC