Bugs item #440013, was opened at 2001-07-10 04:35
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=440013&group_id=5757

Category: None
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Stratis Karamanlakis (skaramanlakis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Browser Detection

Initial Comment:
Not a bug, but did not know where to post (sorry):

Currently browser identification in 
dynapi.api.browsers.js explicitly identifies IE as 
version x (5, 5.5 etc) through the ie4, ie5 etc group 
of properties. If is.ie55 is true, is.ie4 and is.ie5 
are false.

Consequently, code that has to check for features 
available in newer versions of IE has to be updated 
all the time.

Case in question: the oncontextmenu event on IE 5 and 
newer versions is currently (rel 2.54) not handled 
correctly since the code reads (dynapi.event.mouse.js -
 line 155)

if (is.ie5) this.doc.oncontextmenu=function(){ return 
false };


What if the ie4, ie5, etc properties were initialized 
in the following manner:

this.ie4=this.ie5=(this.version.indexOf('MSIE 5')>0);
this.ie4=this.ie5=this.ie55=(this.version.indexOf
('MSIE 5.5')>0);
this.ie4=this.ie5=this.ie55=this.ie6=this.version.index
Of('MSIE 6')>0);

I make the assumption that backward compatibility 
holds ie features found in IE4 are still available in 
newer browsers. Is it too much ?


----------------------------------------------------------------------

>Comment By: Robert Rainwater (rainwater)
Date: 2001-07-22 13:33

Message:
Logged In: YES 
user_id=16618

It is important to distinguish between the browsers.  For 
instance there is a bug in ie 5.5 with images in layers.  
So, we wouldn't want to perform a bug fix for ie 6.  

Also, ie5 is true for the ie5.5 browser.  IE 5.5 was added 
because of the new features that were introduced that are 
not available in ie5.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=440013&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to