考虑 IE9 进行开发

发布于 2024-09-24 14:18:57 字数 119 浏览 0 评论 0原文

我很好奇作为 IE9 的开发人员是否应该注意一些具体的事情,毫无疑问 Microsoft 嗯...“忘记”添加对 Web 套接字等内容的兼容性。但是就 CSS 而言、字体渲染和 JavaScript 我需要采取哪些预防措施?

I'm curious if there are any specific things that I should be aware of as a developer with IE9, there's no question that Microsoft um... "forgot" to add compatibility for things like web-sockets etc. But in terms of CSS, font rendering, and JavaScript what precautions do I need to take?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

幸福还没到 2024-10-01 14:18:57

好吧,所有这些答案都是错误的:)

1) 你现在必须支持 IE9。人们将使用 IE9 访问您的网站/应用程序,并且它已正式发布。这只会变得更加普遍。

2) IE9 的渲染效果与 IE8 不完全相同,而且它也不只是渲染“更好”。 (不过它的渲染速度确实快了很多)。这意味着,您的网站/应用程序可能会在 IE9 中损坏。这意味着:要测试另一个浏览器。

因此,您现在必须考虑使用 IE9,并且不能袖手旁观。

Ok, all these answers are wrong :)

1) You have to support IE9 now. People are going to be visiting your site/app using IE9, and its officially out. This will only become more prevalent.

2) IE9 does not render exactly like IE8, and it doesn't just render 'better', either. (It does render a heck of a lot faster though). So that means, your site/app will probably be broken in IE9. So that means: another browser to test.

So you have to consider IE9 now, and there's no sitting back.

∞琼窗梦回ˉ 2024-10-01 14:18:57

除非您专门为 IE9 进行开发(就像通常是早期采用者的企业客户一样),否则我根本不会考虑 IE9,除非您想疏远 50% 可能仍会使用 IE8 或更早版本的互联网用户截至 2012 年初。

Unless you are specifically developing for IE9 (like in the case of a corporate client that typically are early adopters), I wouldn't consider IE9 at all unless you want to alienate the 50% of internet users who will likely still utilize IE8 or earlier as of early 2012.

梦太阳 2024-10-01 14:18:57

这些页面包含许多您在 IE9 中可能会遇到的内容:

These pages contains a lot of stuff you may expect in IE9:

零崎曲识 2024-10-01 14:18:57

您应该知道的第一件事:

  1. 它在 Acid3 测试中通过了 95%,但仍处于 Beta 阶段。
  2. 它的快速 JScript Chakra 引擎符合 ECMA-262 第五版标准,100%
  3. 是 HTML5 就绪。

而且渲染速度很快,在我的桌面上以 1920x1080 像素帧分辨率运行 Canvas 动画时,渲染速度超过 60fps。
也支持 Web 开放字体格式 http://msdn.microsoft.com/en-us /ie/ff468705.aspx

First things you should know:

  1. It passes 95% on Acid3 tests, while still in Beta
  2. Its fast JScript Chakra engine conforms to ECMA-262 5th Edition Standard 100%
  3. It is HTML5 Ready.

And it is fast in rendering, exceeding 60fps on Canvas Animation at 1920x1080 px frame resolution on my desktop.
Web Open Font Format supported too http://msdn.microsoft.com/en-us/ie/ff468705.aspx

帅的被狗咬 2024-10-01 14:18:57

我认为你不应该为任何事情做任何特别的事情,除了享受呼吸新鲜空气之外,因为当 IE 用户访问你的网站时,你的网站会突然开始表现(接近)正常。

您唯一需要做的就是:比以前编写更少的解决方法。

我想说的是,放松一下。

具体的可以参考Lekensteyn的回答的链接。

I don't think you should do anything special for anything, except enjoy the breath of fresh air you'll get because your sites will suddenly start to behave (closer to) normally when visited by IE users.

The only thing you'll need to do: write less workarounds than before.

I'd say just kick back and relax.

For specific things, refer to Lekensteyn's answer's link.

爱你是孤单的心事 2024-10-01 14:18:57

微软没有提及一件重要的事情……他们从使用 GDI 渲染到 DirectDraw 的改变。

这可能会导致网站上的文本严重模糊,您甚至可能没有意识到这一点(取决于客户端设置等)。

有关 IE9 中的字体、模糊度和渲染的重要信息

MSDN 来源:

Microsoft have failed to mention one major thing... their change from using GDI rendering to DirectDraw.

This can cause serious blurry text on sites, and you might not even be aware of it (depending on the client setting etc).

Important information regarding fonts, blurriness and rendering in IE9

MSDN sources:

单挑你×的.吻 2024-10-01 14:18:57

我同意米泰森的观点。立即开始在 IE9 中检查您的网站。我为客户管理许多网站,我们注意到 IE9 中存在很多问题。虽然它在 FF/Chrome/IE8 中工作正常,但有时根本不在屏幕上显示元素。当然你可以点击兼容模式,但对我来说这不是一个解决方案。我确保我们的开发人员现在就意识到 9 中的所有问题,而不是明年,当更多人使用它时,网站就会崩溃。

I agree with mtyson. Get started on checking your site in IE9 now. I manage many sites for a client and we are noticing a lot of problems in IE9. While it works fine in FF/Chrome/IE8 it is sometimes not displaying elements on the screen at all. Of course you can hit the compatibility mode, but to me that's not a solution. I am making sure our developers are aware of all problems in 9 now rather than next year when more people are using it and the sites are broken.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文