liuyanzhi08 / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

Listeners for (before)?(cut|copy|paste) events are not executed in IE7-9 #139

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a page with a text input field.
2. Add event listener to the field for one of the events 
(before)?(cut|copy|paste).
3. Load the page in IE and try to trigger one of these events.

What is the expected output? What do you see instead?
It is expected that the listed events will trigger the execution of the 
listener.  Instead nothing happens.

What version of the product are you using? On what operating system?
1.1 (alpha1)

Please provide any additional information below.
Problem is tested to be reproducible in IE version 7 to 9.  Possibly also 
reproducible in lower version, but this is not tested.

Adding the listed events to _CANNOT_DELEGATE in base2/dom/events/header.js 
solves the problem.

Original issue reported on code.google.com by mdimitrov@gmail.com on 24 Jun 2011 at 8:56

GoogleCodeExporter commented 8 years ago
Thanks for the report.

According to MSDN those events are supposed to bubble. They obviously don't 
though.

This will be fixed in base2 version 2.0.

Original comment by dean.edw...@gmail.com on 24 Jun 2011 at 7:28