migrating from ie8 to ie9

て烟熏妆下的殇ゞ 提交于 2019-12-19 11:27:46

问题


What changes should be made in an application while migrating from ie8 to ie9 regarding css,html, javascript,DOM


回答1:


Compliance with W3C standards. That's all.

Internet Explorer 9 is Microsoft's way to full Web Standards' support.

In most of the cases, you'd remove previous versions' CSS, DOM hacks. Or conditionally allow them for versions lower than 9.0, in order to render your pages in standards mode.

Now you can take advantage of some CSS 3.0 and HTML5 features, but keep in mind that most of them are working draft, yet to be approved by W3C and browser support in other navigators can differ their expected behavior.

Check this MSDN index if you want to learn more:

  • http://msdn.microsoft.com/en-us/ie/aa740469



回答2:


Microsoft have produced a tool that you can add to your pages which will inform you about changes that may effect your web site.

Just add the following javascript code into your head tag before any othe scripts, then opperate the site as normal, it will then produce a report detailing things you should fix.

<script src="http://ie.microsoft.com/testdrive/HTML5/CompatInspector/inspector.js"></script>

To learn more about the tool goto:

http://blogs.msdn.com/b/ie/archive/2011/04/27/ie9-compat-inspector.aspx



来源:https://stackoverflow.com/questions/5855901/migrating-from-ie8-to-ie9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!