Bug 66781 - [testcase] [site-issue] Menu written in Javascript does not show menu entries
Summary: [testcase] [site-issue] Menu written in Javascript does not show menu entries
Status: RESOLVED DUPLICATE of bug 100457
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: 4.5.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-28 19:17 UTC by Maik Danstedt
Modified: 2011-01-09 16:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Frames test case for coolmenus3.js (6.77 KB, application/x-zip)
2006-08-29 08:41 UTC, Mark A. Taff
Details
testcase (18.53 KB, application/x-tgz)
2008-04-06 09:19 UTC, Michael Leupold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maik Danstedt 2003-10-28 19:17:52 UTC
Version:           Unbekannt (using KDE 3.1.4)
Installed from:    Gentoo
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
OS:          Linux (i686) release 2.4.20-gentoo-r8

When surfing to the website http://www.quirinus-gymnasium.de in the green header below the java applet there is a navigation menu written in JS that works fine Mozilla. When moving with the mouse on one of the menu entries the selected menu expands showing you it's contents.
In Konquerer you only see the menu heading but the menu does not expand.
Comment 1 Stephan Kulow 2003-10-29 11:26:56 UTC
That "javascript" is of the worst kind ;(
Comment 2 Daniel Arnold 2005-02-25 17:19:43 UTC
I tested it with Konqueror of KDE 3.3.2a and this bug is still present as described.
Comment 3 lexual 2006-04-24 05:40:20 UTC
Can confirm that this renders OK in firefox 1.5 and not in konqueror 3.5.2
Comment 4 Mark A. Taff 2006-08-29 08:40:22 UTC
Confirmed broken with Konqi 3.5.4, works on FF 1.5, works on opera 9.0.

This site uses coolmenus3.js Version 3.02 ( http://www.quirinus-gymnasium.de/coolmenus3.js )

When set oCMenu.useframes=1, the menu doesn't render.  When you set it to 0, the menu renders OK if not used in a frame, else it renders on left edge of frame when used in frame.

coolmenus3.js seems very hackish, and not well thought out (IMO), but perhaps Konqi can make it work anyway.

The issue seems to be rendering the output in a named frame other than the frame the script is called in, e.g. called from frmMenu, should render in frmMain.

The script is set up to give debug errors if the frame can't be found, or if the menu isn't rendered, so it seems like the error may be with visibility or layer rendering???

Testcase below.

Regards,

Mark A. Taff
Comment 5 Mark A. Taff 2006-08-29 08:41:56 UTC
Created attachment 17542 [details]
Frames test case for coolmenus3.js

open test.htm
Comment 6 Mark A. Taff 2006-08-29 08:44:20 UTC
Also, not sure if this should be a site-issue, as I am sure that there are *many* sites that use coolmenus3.js with frames.

Regards,

Mark A. Taff
Comment 7 Michael Leupold 2008-04-06 09:19:25 UTC
Created attachment 24227 [details]
testcase

new testcase as the old one was referencing some external URL for the script
which is no longer present.
Comment 8 Samuel Brack 2011-01-08 16:11:03 UTC
Confirmed in 4.5.4 with the testcase of comment 7. Updating version.
Comment 9 Maksim Orlovich 2011-01-09 16:36:43 UTC
Ah, the good-old "browsers don't care about that part of the spec" WRONG_DOCUMENT_ERR thing.

*** This bug has been marked as a duplicate of bug 100457 ***