W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2005

[whatwg] Web Apps 1.0: Editing

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 9 May 2005 16:05:36 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0505091604270.17216@dhalsim.dreamhost.com>
On Mon, 9 May 2005, Ben Meadowcroft wrote:
> 
> Well setting designMode on the body won't work, it is set on the 
> document object using script, document.designMode="on". Actually I guess 
> this should added to one of the Document interfaces described in the 
> spec.
> 
> Other than that I'm not sure what the differences between them are, I 
> imagine that setting <body contentEditable=""> is pretty similar to 
> turning on designMode, perhaps someone else can shed some light on this?

If document.body.designMode = 'on' is equivalent to 
document.body.contentEditable = 'on' then I don't see much point in having 
both. If they are different, let me know. :-)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 9 May 2005 09:05:36 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC