Ive developed a Web Application that runs in my company's intranet. I had an issue with Internet Explorer's automatic compatibility mode earlier in my process, and added code to force my pages to be displayed in the newest version of IE:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
This worked perfectly. Until my web application was recently integrated into another intranet, available also to our customers. The web pages are beyond my control. My application is integrated within a frame inside another html page. And now I'm back to compatibility mode, and it breaks key functionality of my web app.
Is it possible to force the newest version of the browser to interpret only what is inside my frame?
According to this & this (even better than the 1st - notice who marked the answer), a solution isn't possible.
If thinking about it for a second, IE's GUI is actually hinting that an entire page is rendered in compatibility mode (only 1 indicator icon per page, next to the address bar), so it's safe to assume everything is treated the same. Either full page compatibility, or not at all.
P.S. I know this isn't too helpful, but it's an attempt at providing a valid reason why it's not possible and it's better to start looking in different directions. Personally, I'd try to go with HTML5 (<!DOCTYPE html>
). That CAN be enabled selectively (only on your frame) and might not be too hard to adjust to since you already use 'edge'...