summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebContent/VAADIN/themes/valo/components/_window.scss1
-rw-r--r--client/src/com/vaadin/client/ui/VWindow.java14
2 files changed, 14 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_window.scss b/WebContent/VAADIN/themes/valo/components/_window.scss
index d866ce2584..97859a62b2 100644
--- a/WebContent/VAADIN/themes/valo/components/_window.scss
+++ b/WebContent/VAADIN/themes/valo/components/_window.scss
@@ -125,7 +125,6 @@ $v-window-modality-curtain-background-color: #222 !default;
line-height: $v-unit-size - 3px;
text-align: center;
cursor: pointer;
- font-family: FontAwesome;
font-size: round($v-font-size * 1.3);
color: valo-font-color($v-window-background-color, .4);
diff --git a/client/src/com/vaadin/client/ui/VWindow.java b/client/src/com/vaadin/client/ui/VWindow.java
index 495e230156..7223e4ac83 100644
--- a/client/src/com/vaadin/client/ui/VWindow.java
+++ b/client/src/com/vaadin/client/ui/VWindow.java
@@ -245,6 +245,20 @@ public class VWindow extends VOverlay implements ShortcutActionHandlerOwner,
* state.
*/
setTabStopEnabled(doTabStop);
+
+ // Fix for #14413. Any pseudo elements inside these elements are not
+ // visible on initial render unless we shake the DOM.
+ if (BrowserInfo.get().isIE8()) {
+ closeBox.getStyle().setDisplay(Display.NONE);
+ maximizeRestoreBox.getStyle().setDisplay(Display.NONE);
+ Scheduler.get().scheduleFinally(new Command() {
+ @Override
+ public void execute() {
+ closeBox.getStyle().clearDisplay();
+ maximizeRestoreBox.getStyle().clearDisplay();
+ }
+ });
+ }
}
@Override