Bug 4761

Summary: Floating menu failure in ONmouseover event
Product: WebKit Reporter: Gustaaf Groenendaal (MysteryQuest) <webkit>
Component: Layout and RenderingAssignee: Dave Hyatt <hyatt>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.pcwereld.info/

Gustaaf Groenendaal (MysteryQuest)
Reported 2005-08-30 14:14:44 PDT
This site ( www.pcwereld.info ) has a menu, this menu should show a floating menu on a ONmouseover event, but it doesn't. It looks like WebKit doesn't understand that it should not open a new window, but just open the menu items in the same window. Probably the ONmouseout event is also affected with this. Altough the site is far from W3C compatible code, it works on FireFox/Gecko as well as MSIE, but since it works on FireFox I think it's possible to let it work in Safari/WebKit. In case you don't understand the whole source code because there is used some Dutch in it, here a translation of something you may need: <td onmouseover="toonmenu('sitex')" onmouseout="verstopmenu('sitex')"> <td onmouseover="showmenu('sitex')" onmouseout="hidemenu('sitex')">
Attachments
Mark Rowe (bdash)
Comment 1 2005-09-03 02:54:26 PDT
Confirmed with WebKit 412.7 and ToT WebKit. JavaScript Console says "Value undefined (result of expression document.%s) is not object." and points to the offending line which contains: document.all(elmnt).style.visibility="visible"
Joost de Valk (AlthA)
Comment 2 2005-12-29 00:45:40 PST
This is fixed in the latest nightly, as andersca has added undetectable document.all.
Eric Seidel (no email)
Comment 3 2005-12-29 00:51:16 PST
Joost de Valk (AlthA)
Comment 4 2005-12-29 00:53:12 PST
This should be a dupe of the bug for which document.all was landed for the obvious reasons. Reopening so i can dupe.
Joost de Valk (AlthA)
Comment 5 2005-12-29 00:53:49 PST
*** This bug has been marked as a duplicate of 6268 ***
Note You need to log in before you can comment on or make changes to this bug.