title: Internet Explorer 11 and <iframe> document mode inheritance
body: <p><strong>Situation:</strong></p>
  
  <p>I have a site that is being loaded on another system inside an <code>&lt;frame&gt;</code> that is out my control. Inside my page I have set IE to target the latest version: <code>&lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;</code>. When opened by itself the site looks great and the web inspector tells me that it is in Edge mode. </p>
  
  <p>When I open the site inside of the other system, the web inspector is telling me the default mode is <strong>7</strong> and it is being set because <strong>Via X-UA-compatible HTTP header:</strong> This is also because the server is sending down a HTTP response header of <code>X-UA-Compatible, IE=EmulateIE7</code>.</p>
  
  <p>The page <em>frames.aspx</em> -- that contains the <code>&lt;frameset&gt;</code> &amp; <code>&lt;frame&gt;</code> already has a HTML5 DOCTYPE declared but no X-UA <code>&lt;meta&gt;</code> tag. </p>
  
  <p><strong>Question:</strong></p>
  
  <p>I thought that the X-UA <code>&lt;meta&gt;</code> tag inside my site would overwrite the server's response header....Or is it that because the <em>frames.aspx</em> page does not contain a X-UA <code>&lt;meta&gt;</code> tag so then IE7 mode is being set on that parent page (via HTTP response header) then it is being inherited down to my site? </p>
  
  <p>Would love to hear any thoughts on this situation.</p>