[Rt-commit] rt branch, 4.0/x-ua-compatible-header, created. rt-4.0.8-181-gcd026d6

Thomas Sibley trs at bestpractical.com
Mon Nov 19 16:34:26 EST 2012


The branch, 4.0/x-ua-compatible-header has been created
        at  cd026d6c210fb2738167cae065b14784c030e2ab (commit)

- Log -----------------------------------------------------------------
commit cd026d6c210fb2738167cae065b14784c030e2ab
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Nov 19 13:01:02 2012 -0800

    Force IE to use the latest renderer available and disable compat mode
    
    This was noted recently in [rt3 #21534], and RT really should have been
    including it for a while now.
    
    Compatibility mode can lead to bugs and lockups under some conditions
    (see the CSS3Pie fiasco) and using an older IE rendering engine is never
    better.

diff --git a/share/html/Elements/Header b/share/html/Elements/Header
index ccdf0f2..0d8296a 100644
--- a/share/html/Elements/Header
+++ b/share/html/Elements/Header
@@ -56,6 +56,8 @@
 
     <& /Elements/Framekiller &>
 
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+
 % if ($Refresh && $Refresh =~ /^(\d+)/ && $1 > 0) {
 %   my $URL = $m->notes->{RefreshURL}; $URL = $URL ? ";URL=$URL" : "";
     <meta http-equiv="refresh" content="<% "$1$URL" %>" />

-----------------------------------------------------------------------


More information about the Rt-commit mailing list