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

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):

    http://simon.html5.org/test/html/editing/event-listeners/

-- 
Simon Pieters
Opera Software

Received on Thursday, 6 September 2007 12:58:53 UTC