Changeset 255 for trunk/common

Show
Ignore:
Timestamp:
12/18/07 00:45:38 (2 years ago)
Author:
ddavis
Message:

Fix safari logic in getAbsoluteCursorPosition. BugzID: 64047

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/common/DOM.js

    r251 r255  
    439439        }; 
    440440        /* window scroll is fixed in safari 3; devicePixelRatio is a safari 3 only object */ 
    441         if ( !navigator.userAgent.toLowerCase().match(/webkit/) || window.devicePixelRatio ) { 
     441        if ( navigator.userAgent.toLowerCase().match(/webkit/) && !window.devicePixelRatio ) { 
    442442            var s = DOM.getWindowScroll( window ); 
    443443            pos.x += s.left;