Bug 13989
Summary: | Drop-down menus in navigation bar do not appear when clicked on WebFX site | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | Evangelism | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | eae, info |
Priority: | P2 | Keywords: | NeedsReduction |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://webfx.eae.net/ |
David Kilzer (:ddkilzer)
* SUMMARY
When clicking on navigation bar buttons with drop-down menus on the WebFX site, the drop-down menus do not appear.
* STEPS TO REPRODUCE
1. Open Safari/WebKit.
2. Go to URL: http://webfx.eae.net/
3. Click on "About", "Articles", "Tools & Games" or "Links".
* EXPECTED RESULTS
The pop-down menu should appear when clicking on one of those buttons.
* ACTUAL RESULTS
Nothing happens.
* REGRESSION
This is not a regression as the same thing occurs on shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).
Tested with a local debug build of WebKit r21967 with the above software.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ingo Chao
The XMenu 1.12 (xmenu.js) used here is "designed to work in Internet Explorer, Mozilla and Opera." [http://webfx.eae.net/dhtml/xmenu/xmenu.html]
The browser sniffing does not handle Safari at all.
The menu works on hover by telling that the UA is Mozilla
Line44: var moz = true; // others set to false in Line 39-46
in combination with
Line76: webfxMenuUseHover = true; // see "Opera Focus Bug" in the documentation
According to the documentation,
"The menu system uses the events onfocus and onfocus to show and hide the menus. ... Opera does however not support focus on anchors so to get the menus to work in Opera the hover mode is used."
Don't know if Safari would support these focus-operations, but at least on hover, it works with the changes.
Tested with the download http://webfx.eae.net/download/xmenu112.zip
David Kilzer (:ddkilzer)
Per Comment #1, this sounds like an evangelism bug--xmenu needs to be updated to work with Safari.
Emil A Eklund
The xmenu component was updated to support Opera about a month ago. Please retest.
David Kilzer (:ddkilzer)
(In reply to comment #3)
> The xmenu component was updated to support Opera about a month ago. Please
> retest.
Drop-down menus work great now with a local debug build of WebKit r26170 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218). Thanks!