Changeset 16780 in svn


Ignore:
Timestamp:
01/04/11 09:39:55 (3 years ago)
Author:
artur.signell@…
Message:

#6227 Extra scrollbars in Window and other places in Opera 11

Location:
versions/6.5/src/com/vaadin/terminal/gwt/client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • versions/6.5/src/com/vaadin/terminal/gwt/client/BrowserInfo.java

    r16164 r16780  
    254254    } 
    255255 
     256    public boolean isOpera10() { 
     257        return browserDetails.isOpera() 
     258                && browserDetails.getBrowserMajorVersion() == 10; 
     259    } 
     260 
     261    public boolean isOpera11() { 
     262        return browserDetails.isOpera() 
     263                && browserDetails.getBrowserMajorVersion() == 11; 
     264    } 
     265 
    256266    public native static String getBrowserString() 
    257267    /*-{ 
  • versions/6.5/src/com/vaadin/terminal/gwt/client/Util.java

    r16682 r16780  
    584584    public static void runWebkitOverflowAutoFix(final Element elem) { 
    585585        // Add max version if fix lands sometime to Webkit 
    586         if (BrowserInfo.get().getWebkitVersion() > 0) { 
     586        // Starting from Opera 11.00, also a problem in Opera 
     587        if (BrowserInfo.get().getWebkitVersion() > 0 
     588                || (BrowserInfo.get().isOpera11())) { 
    587589            final String originalOverflow = elem.getStyle().getProperty( 
    588590                    "overflow"); 
Note: See TracChangeset for help on using the changeset viewer.