File tree Expand file tree Collapse file tree
sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/internal/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ private OS() {
6666 var geckoPos = dua.indexOf("Gecko");
6767 os.isMozilla = (geckoPos >= 0)&&(!isKHTML);
6868 os.isFirefox = os.isMozilla && dua.indexOf ("Firefox") != -1;
69- os.isIE = (document.all)&&(!os.isOpera);
69+ os.isIE = (document.all!=null )&&(!os.isOpera);
7070 os.isIE50 = os.isIE && dav.indexOf("MSIE 5.0")>=0;
7171 os.isIE55 = os.isIE && dav.indexOf("MSIE 5.5")>=0;
7272 os.isIE60 = os.isIE && dav.indexOf("MSIE 6.0")>=0;
@@ -830,6 +830,8 @@ public static int getFixedBodyClientHeight() {
830830 } else if (OS .isFirefox || OS .isSafari ) {
831831 return (pcHeight == p .offsetHeight
832832 && pcHeight == p .scrollHeight ) ? bcHeight : pcHeight ;
833+ } else if (OS .isOpera ) {
834+ return pcHeight ;
833835 }
834836 return bcHeight ;
835837 }
You can’t perform that action at this time.
0 commit comments