summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-09-16 11:10:15 +0000
committerArtur Signell <artur.signell@itmill.com>2010-09-16 11:10:15 +0000
commitee999ad0b17a464aded45a6ad8a2a218e4225cb1 (patch)
treeead1f841dd9ccdfdad1f2845f51f3279c3ee2b5b /src
parent183f633caa25dde7001c46e4f667e26eb5173ae5 (diff)
downloadvaadin-framework-ee999ad0b17a464aded45a6ad8a2a218e4225cb1.tar.gz
vaadin-framework-ee999ad0b17a464aded45a6ad8a2a218e4225cb1.zip
Force IE9 into IE8 mode (#5607)
svn changeset:14955/svn branch:6.4
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java b/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java
index c7614383de..43fc63883a 100644
--- a/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java
+++ b/src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java
@@ -1889,6 +1889,10 @@ public abstract class AbstractApplicationServlet extends HttpServlet implements
protected void writeAjaxPageHtmlHeader(final BufferedWriter page,
String title, String themeUri) throws IOException {
page.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n");
+
+ // Force IE9 into IE8 mode. Remove when IE 9 mode works (#5546)
+ page.write("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=8\"/>\n");
+
page.write("<style type=\"text/css\">"
+ "html, body {height:100%;margin:0;}</style>");