Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is IE=Edge in GCF used for? [duplicate]

The Google chrome frame developer guide says,

The following complete example indicates usage of Google Chrome Frame for IE6 users, and otherwise passes the "Edge" parameter to later versions of IE:

<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE6">

What does "passing the EDGE parameter to later versions of IE" means?

like image 498
Pankaj Parashar Avatar asked Sep 21 '12 12:09

Pankaj Parashar


2 Answers

From MSDN Defining Document Compatibility

Document compatibility modes allow you to control the way Internet Explorer interprets and displays your webpage

Specifying IE=edge instructs IE to use highest available engine for established and emerging industry standards.

For example in IE9 the highest version of the engine is 9 (likewise the highest version for IE8 is 8), but IE9 can also render a web page using the IE8, IE7 or IE5 engine (with all of their old bugs) and IE8 can also render pages as IE7 or IE5 did.

If you have a page that was designed for IE7 but a user is now using IE9 has the page breaks; rather than updating all the code to work with both engines one can add the <meta> tag speficying that IE9 use the IE7 engine.

The Chrome frame recommendation is recommending this to future proof the code against new releases of IE. By specifying "use the latest version" you are not limiting the page to a specific version of IE.

In the context of your question I don't think that using Edge is specific to the GCF, but rather an instruction to IE.

like image 162
andyb Avatar answered Nov 11 '22 15:11

andyb


It makes IE use the most up to date version of the rendering engine.

http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx

like image 2
BNL Avatar answered Nov 11 '22 13:11

BNL