svn changeset:16780/svn branch:6.5
return browserDetails.isOpera();
}
+ public boolean isOpera10() {
+ return browserDetails.isOpera()
+ && browserDetails.getBrowserMajorVersion() == 10;
+ }
+
+ public boolean isOpera11() {
+ return browserDetails.isOpera()
+ && browserDetails.getBrowserMajorVersion() == 11;
+ }
+
public native static String getBrowserString()
/*-{
return $wnd.navigator.userAgent;
*/
public static void runWebkitOverflowAutoFix(final Element elem) {
// Add max version if fix lands sometime to Webkit
- if (BrowserInfo.get().getWebkitVersion() > 0) {
+ // Starting from Opera 11.00, also a problem in Opera
+ if (BrowserInfo.get().getWebkitVersion() > 0
+ || (BrowserInfo.get().isOpera11())) {
final String originalOverflow = elem.getStyle().getProperty(
"overflow");
if ("hidden".equals(originalOverflow)) {