Skip to content

Commit 60a60e3

Browse files
author
soheil_h_y
committed
1. fixed bug is Safari 3.
1 parent 04da856 commit 60a60e3

File tree

1 file changed

+1
-1
lines changed
  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/internal/browser

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/internal/browser/OS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ public static int getFixedBodyClientHeight() {
751751
int pcHeight = p.clientHeight;
752752
if (OS.isIE) { // && !OS.isOpera
753753
return (pcHeight == 0) ? bcHeight : pcHeight;
754-
} else if (OS.isFirefox) {
754+
} else if (OS.isFirefox || OS.isSafari) {
755755
return (pcHeight == p.offsetHeight
756756
&& pcHeight == p.scrollHeight) ? bcHeight : pcHeight;
757757
}

0 commit comments

Comments
 (0)