From: Artur Signell Date: Mon, 21 Jan 2013 19:47:40 +0000 (+0200) Subject: Removed Opera 9 workaround which is no longer needed but does not work correctly... X-Git-Tag: 7.0.1~80 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9c6f83505896145c6d84534c610720ede83993e0;p=vaadin-framework.git Removed Opera 9 workaround which is no longer needed but does not work correctly (#5310) Change-Id: I95c60b68d6fba55cd4034b4c474171d973cdf0d7 --- diff --git a/client/src/com/vaadin/client/ui/VNotification.java b/client/src/com/vaadin/client/ui/VNotification.java index e67bde47dd..7019394e3b 100644 --- a/client/src/com/vaadin/client/ui/VNotification.java +++ b/client/src/com/vaadin/client/ui/VNotification.java @@ -215,13 +215,6 @@ public class VNotification extends VOverlay { if (opacity <= 0) { cancel(); hide(); - if (BrowserInfo.get().isOpera()) { - // tray notification on opera needs to explicitly - // define - // size, reset it - DOM.setStyleAttribute(getElement(), "width", ""); - DOM.setStyleAttribute(getElement(), "height", ""); - } } else { setOpacity(getElement(), opacity); } @@ -248,11 +241,6 @@ public class VNotification extends VOverlay { break; case BOTTOM_RIGHT: DOM.setStyleAttribute(el, "position", "absolute"); - if (BrowserInfo.get().isOpera()) { - // tray notification on opera needs explicitly defined size - DOM.setStyleAttribute(el, "width", getOffsetWidth() + "px"); - DOM.setStyleAttribute(el, "height", getOffsetHeight() + "px"); - } DOM.setStyleAttribute(el, "bottom", "0px"); DOM.setStyleAttribute(el, "right", "0px"); break;