RESOLVED DUPLICATE of bug 4377 7909
Drop down menus do not work
https://bugs.webkit.org/show_bug.cgi?id=7909
Summary Drop down menus do not work
Simon Martin
Reported 2006-03-22 02:32:04 PST
The site is navigated using (javascript) menus that appear when the mouse runs over them. This does not work in Safari but works fine with Firefox and Camino.
Attachments
Testcase (311 bytes, text/html)
2006-09-27 12:16 PDT, allan28
no flags
crastinator
Comment 1 2006-03-31 21:15:22 PST
Yup, doesnt't work. Tried it on Camino and it works. The menu names are supposed to be at the very top bar, below the first line. Niether the drop down menu or the names appear.
allan28
Comment 2 2006-09-26 14:28:34 PDT
They do work. The menu is a commercial product from Milonic ( www.milonic.com ), and the version used on dolmetsch is Safari-compatible according to the vendor. As far as I can tell, a mistake has been made when inserting the menu, so both the noscript warning and the menu has got the class milonic which is hidden with a width of 1px. Renaming the outer "milonic"-class reveals the menu. Why Firefox show the menu is probably due to browser-specific code (sniffing is used), but since the javascript is obfuscated, it's hard to tell. Let me know if this needs to be further tested? One would think that another user-agent would fix it, but since it doesn't, there might still be a bug.
David Kilzer (:ddkilzer)
Comment 3 2006-09-26 16:48:50 PDT
(In reply to comment #2) > Why Firefox show the menu is probably due to browser-specific code (sniffing is > used), but since the javascript is obfuscated, it's hard to tell. > Let me know if this needs to be further tested? One would think that another > user-agent would fix it, but since it doesn't, there might still be a bug. Someone should try spoofing Safari+WebKit as FireFox using the Debug menu to see if it renders differently.
mitz
Comment 4 2006-09-27 09:31:28 PDT
(In reply to comment #3) > Someone should try spoofing Safari+WebKit as FireFox using the Debug menu to > see if it renders differently. > No difference.
allan28
Comment 5 2006-09-27 12:16:30 PDT
Created attachment 10802 [details] Testcase Small testcase where Firefox will display Hello, and Safari will not. Visibility for contained elements is not respected when the element is positioned absolute.
allan28
Comment 6 2006-09-27 12:21:12 PDT
To eleborate slightly on the attachment. The reason the menu isn't showing in Safari is that setting "visibility:visible" for an element that is contained in a hidden and absolute/relative positioned element, doesn't work. Works when the element isn't positioned absolute.
mitz
Comment 7 2006-12-19 11:02:15 PST
*** This bug has been marked as a duplicate of 4377 ***
Note You need to log in before you can comment on or make changes to this bug.