13 янв. 2014 г.

IE document/browser modes

http://jsfiddle.net/7ZE7M/

IE9:
http://i.stack.imgur.com/yzXVq.png

IE10:
  • navigator.appName: Microsoft Internet Explorer
  • navigator.userAgent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
  • document.compatMode: CSS1Compat
  • document.documentMode: 10

IE11:
  • navigator.appName: Netscape
  • navigator.userAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko
  • document.compatMode: CSS1Compat
  • document.documentMode: 11

Комментариев нет:

Отправить комментарий