W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Re: designMode and event listeners (detailed review of Editing)

From: Simon Pieters <simonp@opera.com>
Date: Thu, 06 Sep 2007 14:58:42 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.tx8gz4qqidj3kv@hp-a0a83fcd39d2.palace.opera.no>

On Thu, 06 Sep 2007 13:25:43 +0200, Simon Pieters <simonp@opera.com> wrote:

> The second paragraph doesn't match what Firefox does. This is how it  
> works in Firefox, AFAICT:
> When you set designMode="on" on a document, all event listeners that  
> were registered on the document with addEventListener() with a script  
> that was itself in the same document must be ignored. Additionally, all  
> event listeners that were registered using onXXX="" attributes in the  
> markup, as well as .onXXX DOM attributes, must be ignored, regardless of  
> where they came from.

Test cases for this (for now, these assume that all of contentEditable,  
designMode, addEventListener and attachEvent are supported):


Simon Pieters
Opera Software
Received on Thursday, 6 September 2007 12:58:53 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:21 UTC