goupviet / base2

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

addEventListener stuck #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When adding an Event through addEventListener on a (specific?) DOM node
that isn't appended to the DOM yet, addEventListener stuck and does not
return, that the rest of the code can be executed :/ I encountered this
problem with a span element and also tried an ul element, result is the same.

The problem occurs in Internet Explorer, v. 6.0.2800.1106-sp1 on Windows 2000.

I attached a file that shows the problem.

Another problem is, when appending the node to the dom and adding the
listener afterwards, the alert isn't shown up, when you click it (the
commented lines in the example).

Best regards,
gossi

Original issue reported on code.google.com by unigossi on 16 Aug 2007 at 11:37

Attachments:

GoogleCodeExporter commented 9 years ago
Will take a look...

Original comment by dean.edw...@gmail.com on 17 Aug 2007 at 1:57

GoogleCodeExporter commented 9 years ago
I can't recreate either of these problems. Admittedly, I don't have exactly the 
same
setup as you (I have IE6 sp2, XP).

Can anyone else verify this bug?

Original comment by dean.edw...@gmail.com on 17 Aug 2007 at 2:28

GoogleCodeExporter commented 9 years ago
I ran windows update. So one of the Internet Explorer updates also fixes that
Problem. The version is still the same, but one of the security updates 
obviously
changes the behaviour of my IE.

This one could be closed and archived. So if anyone is coming up with the same
problem, should update his IE first ;-)

Original comment by unigossi on 23 Aug 2007 at 7:51

GoogleCodeExporter commented 9 years ago
base2.DOM is supposed to fix browser bugs so this issue will remain open until 
the
problem is patched on MSIE6 sp1.

Original comment by dean.edw...@gmail.com on 30 Aug 2007 at 4:14

GoogleCodeExporter commented 9 years ago
I'm pretty sure this is fixed now but I don't have access to SP1 to verify. I'll
leave the bug open until I can verify that it is fixed.

Original comment by dean.edw...@gmail.com on 20 Dec 2007 at 7:55

GoogleCodeExporter commented 9 years ago
I checked with IE6 SP1, also on win2k. The test-page said Hello world, and I 
got 
the "clicked" alert when clicking on the element. So it looks fixed.

Now I'm also starting windows update ;-)

Original comment by doek...@gmail.com on 6 Jan 2008 at 12:08

GoogleCodeExporter commented 9 years ago
Great! I've been wanting to sign this off for ages.

Original comment by dean.edw...@gmail.com on 6 Jan 2008 at 3:59