Bug 120272

Summary: [site-issue] Menu doesn't work properly
Product: [Applications] konqueror Reporter: kim Lux <lux>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: maksim
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kim Lux 2006-01-17 00:29:32 UTC
Version:           $ konqueror -v
Qt: 3.3.5
KDE: 3.5.0-4.2.fc4.kde
Konqueror: 3.5.0-1.2.fc4.kde (using KDE KDE 3.5.0)
Installed from:    Fedora RPMs
OS:                Linux

http://www.baldor.com/products/generators/dlc.asp

Try to select the "DC Motor" items.
Comment 1 kim Lux 2006-01-17 00:35:31 UTC
Left menus don't work here either. 

http://www.baldor.com/support/default.asp
Comment 2 Maksim Orlovich 2006-01-17 00:36:14 UTC
Works when faking as mozilla. They send us IE version, and we don't do click on <a>. May be we should, though
Comment 3 Maksim Orlovich 2006-01-19 00:05:32 UTC
SVN commit 499882 by orlovich:

Suppose the click-on-a MS extension. Fixes hotmail signup page
and menu clicks on baldor.com. Unfortunately we still run into 
problems there as it forces a container with visiblechildren tovisibility:hidden
CCBUG:120272


 M  +5 -0      kjs_html.cpp  
 M  +1 -1      kjs_html.h  


--- branches/KDE/3.5/kdelibs/khtml/ecma/kjs_html.cpp #499881:499882
@@ -893,6 +893,7 @@
   type		KJS::HTMLElement::AnchorType		DontDelete
   blur		KJS::HTMLElement::AnchorBlur		DontDelete|Function 0
   focus		KJS::HTMLElement::AnchorFocus		DontDelete|Function 0
+  click		KJS::HTMLElement::AnchorClick		DontDelete|Function 0
 @end
 @begin HTMLImageElementTable 15
   name		KJS::HTMLElement::ImageName		DontDelete
@@ -2226,6 +2227,10 @@
         anchor.focus();
         return Undefined();
       }
+      else if (id == KJS::HTMLElement::AnchorClick) {
+        static_cast<DOM::HTMLAnchorElementImpl*>(anchor.handle())->click();
+        return Undefined();
+      }
     }
     break;
     case ID_TABLE: {
--- branches/KDE/3.5/kdelibs/khtml/ecma/kjs_html.h #499881:499882
@@ -111,7 +111,7 @@
            AnchorAccessKey, AnchorCoords, AnchorHref, AnchorProtocol, AnchorHost,
            AnchorCharset, AnchorHrefLang, AnchorHostname, AnchorType, AnchorFocus,
            AnchorPort, AnchorPathName, AnchorHash, AnchorSearch, AnchorName,
-           AnchorRev, AnchorTabIndex, AnchorTarget, AnchorText, AnchorBlur,
+           AnchorRev, AnchorTabIndex, AnchorTarget, AnchorText, AnchorBlur, AnchorClick, 
            ImageName, ImageAlign, ImageHspace, ImageVspace, ImageUseMap, ImageAlt,
            ImageLowSrc, ImageWidth, ImageIsMap, ImageBorder, ImageHeight,
            ImageLongDesc, ImageSrc, ImageX, ImageY, ImageComplete, ObjectHspace, ObjectHeight, ObjectAlign,
Comment 4 Bram Schoenmakers 2007-01-06 14:35:38 UTC
Parts of the menu disappear after selecting an item from the menu and then hovering the cursor over the menu again.
Comment 5 illogic-al 2007-02-18 19:31:36 UTC
fixed as of 3.5.6