[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 57913] New: window.addEventListener("load", ...) and
From: Jesse Pelton <jsp () pkc ! com>
Date: 2003-04-30 18:29:17
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=57913
Summary: window.addEventListener("load", ...) and
document.addEventListener("load", ...) do not work
Product: konqueror
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: konq-bugs@kde.org
ReportedBy: jsp@pkc.com
Version: (using KDE KDE 3.1.1)
Installed from: Unlisted Binary Package
OS: Linux
Summary: Konqueror fails to fire document and window load events established with \
addEventListener().
Demonstration: Load the attached page. It has two load event handlers for the window and two \
for the document. For each object, the first handler is established with a call to \
addEventListener(), the second by setting the onload property. The second window event handler \
gets run, but the others do not.
Additional information:
- Mozilla calls the window load handlers but not the document load handlers.
- IE 6.0 does not support the DOM event model, so this test case fails.
- Opera 7.0 recognizes document.addEventListener but not window.addEventListener.
The DOM2 event spec is vague about what objects should support the load event, so it's not \
surprising that different browsers implement it differently. I can deal with Mozilla's \
behavior (I only need one load event, and the window load event works just fine) and Opera's \
(because I can test for the value of window.addEventListener and use onload if it's null). \
Konqueror's behavior is problematic, because while window.addEventListener is a function, it \
doesn't have the desired effect. _______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic