[whatwg] What exactly is contentEditable for?

Ian Hickson ian at hixie.ch
Wed Aug 24 05:06:21 PDT 2005


On Wed, 24 Aug 2005, Lachlan Hunt wrote:
>
> Anne van Kesteren wrote:
> > From a semantic point of view contentEditable is much better than a textarea
> > hack.
> 
> contentEditiable is not semantic, it's behavioural and belongs in the DOM
> interface only, not the markup.

How is it not semantic? It's not behavioural, that would be something like 
"when you click put the cursor here, when you drag start drag and drop", 
etc. contentEditable doesn't say anything about the behaviour, merely that 
the element is editable.

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



More information about the whatwg mailing list