微软最新发布104个专业级的Web标准测试代码

Internet Explorer 9 预览版的发布,标志着下一代Internet Explorer进入了一个重要的里程碑。新的浏览器的重点将放在对W3C Web标准的支持上。业界标准的目的实际上是互操作性,在Web开发领域,也就意味着相同的HTML,脚本和格式良好的标记能够在不同的浏览器之间正常工作并且结果相同。

微软这次发布的测试案例包括6个Web标准:Scalable Vector Graphics (SVG) 1.1 (2nd Edition)、CSS3 Backgrounds and Borders、CSS3 Selectors、DOM Level 2 Core、DOM Level 3 Events、DOM Level 2 Style。所对比的浏览器包括:IE9、Firefox 3.6、Opera 10.50、Safari 4.0和Google Chrome 4.0。

完整的测试代码和效果,Web开发人员可以参考学习。可以从下面的网站得到

http://samples.msdn.microsoft.com/ietestcenter/

W3C Web 标准程序数IE9预览版Firefox 3.6Opera 10.50Safari 4.0Chrome 4.0
SVG 1.1 2nd edition 31 100% 84% 94% 90% 90%
CSS3 Borders & Backgrounds 33 100% 27% 88% 27% 91%
CSS3 Selectors 16 100% 75% 56% 44% 44%
DOM Level 2 Core 9 100% 89% 100% 100% 100%
DOM Level 3 Events 10 100% 40% 40% 50% 50%
DOM Level 2 Style 5 100% 40% 60% 40% 20%

posted @ 2010-03-20 22:18  林强  阅读(385)  评论(0编辑  收藏  举报