문제

I have recently run into following meta tag in a conditional comment:

<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->

Correct me if I'm wrong but after some tests I came to a conclusion that this comment seems to prevent IE from displaying document in a preffered edge mode.

Anybody knows why and is there any use of placing X-UA meta tag in a conditional comment in the first place?

도움이 되었습니까?

해결책

Anybody knows why

Conditional comments and X-UA-Compatibile are both preprocessors

and is there any use of placing X-UA meta tag in a conditional comment in the first place?

No

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top