Compartilhar via


Compatibility View Button Displays on web pages with X-UA-Compatible Tag in Internet Explorer 8

Hi everyone!

I am sure you have noticed Internet Explorer’s Compatibility View button, located on the address bar next to the ‘stop’ and ‘refresh’ buttons.

clip_image001

As we discussed in the blog Introducing Compatibility View, the Compatibility View button only appears when it makes sense to do so.   For example, if the page’s Document Compatibility Mode is not set and if the page is trying to display in standards mode. 

So, when a site uses the X-UA-Compatible <META> tag or HTTP header to set the Compatibility mode, IE8’s Compatibility View button should not display. However, we have uncovered a small problem where it still does display if the ultimate document mode of the page turns out to be Quirks Mode.

If you go to https://office.live.com/ you will notice this behavior. Here is also a simple page that demonstrates the problem:

<html>

   <head>

  <!-- Mimic Internet Explorer 7 -->

      <title>My Web Page</title>

      <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

   </head>

   <body>

      <p>Content goes here.</p>

   </body>

</html>   

Note: Having no DOCTYPE switches you to quirks mode.

Even though the Compatibility View button displays, the page functionality continues to work correctly. Therefore, the impact of this behavior is minimal.

 

Regards,

The IE Support team

Comments

  • Anonymous
    July 10, 2009
    I would like to have control over the compatibility button.
  • Anonymous
    August 06, 2010
    Not everyone know what this button does... Is the a link you can added directly to webpage that executes as it does from the address bar.