[whatwg] What exactly is contentEditable for?

Lachlan Hunt lachlan.hunt at lachy.id.au
Mon Aug 29 04:35:15 PDT 2005


Ian Hickson wrote:
> On Wed, 24 Aug 2005, Lachlan Hunt wrote:
>>contentEditiable is not semantic, it's behavioural and belongs in the DOM
>>interface only, not the markup.
> 
> How is it not semantic?

How is it semantic?

> It's not behavioural...

It's behavioual because it specifies how content should be entered by 
the user (i.e. using a WYSIWYG editor) rather than just what kind of 
content is expected and leaving the editing/input methods up to the UA. 
It also (currently) requires scripts to be used at all, and scripts are 
behavioural.

-- 
Lachlan Hunt
http://lachy.id.au/




More information about the whatwg mailing list