Bug 4761
| Summary: | Floating menu failure in ONmouseover event | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gustaaf Groenendaal (MysteryQuest) <webkit> |
| Component: | Layout and Rendering | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
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)
This is fixed in the latest nightly, as andersca has added undetectable document.all.
Eric Seidel (no email)
This was a dup of http://bugzilla.opendarwin.org/show_bug.cgi?id=6268
Joost de Valk (AlthA)
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)
*** This bug has been marked as a duplicate of 6268 ***