]> source.dussan.org Git - vaadin-framework.git/commitdiff
Force IE9 into IE8 mode (#5607)
authorArtur Signell <artur.signell@itmill.com>
Thu, 16 Sep 2010 11:10:15 +0000 (11:10 +0000)
committerArtur Signell <artur.signell@itmill.com>
Thu, 16 Sep 2010 11:10:15 +0000 (11:10 +0000)
svn changeset:14955/svn branch:6.4

src/com/vaadin/terminal/gwt/server/AbstractApplicationServlet.java

index c7614383def3a766f1aba68fdd70739e89d9603a..43fc63883a8d1bc1fe364045889adf36f34042c4 100644 (file)
@@ -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>");