兼容X-UA的"IE = EmulateIE7"在IE10和IE11中有效吗?

ner*_*ess 5 internet-explorer

我目前正在使用此标题:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
 <head>
 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Run Code Online (Sandbox Code Playgroud)

1)所以...以下假设是正确的吗?

metatag属性content ="IE = EmulateIE7"确保无论您在页面上看哪个IE版本,页面都将呈现,就像您在IE7中查看它一样.例如,当您在IE10或IE9中查看页面时,您将看不到使用border-radius定义的圆角.

2)以下假设也是正确的吗?

however, as of IE11 the http-equiv="X-UA-Compatible" metatag will be obsolete so the same page will be rendered with the IE11 rendering engine and there will be rounded corners.

小智 12

Just adding this here to that the question can be marked as answered...

它已被弃用,但它仍然有效.因此,如果您的页面中有http-equiv ="X-UA-Compatible"content ="IE = EmulateIE7",IE11仍会将其呈现为IE 7.请查看此链接.