目前哪个浏览器对 HTML 5 的支持最好?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/150577/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 22:26:02  来源:igfitidea点击:

Which browser has the best support for HTML 5 currently?

html

提问by Rich Bradshaw

Where can I test HTML 5 functionality today - is there any test build of any rendering engines which would allow testing, or is it to early? I'm aware that much of the spec hasn't been finalised, but some has, and it would be good to try it out!

我今天可以在哪里测试 HTML 5 功能 - 是否有任何渲染引擎的测试版本可以进行测试,还是太早了?我知道大部分规范尚未最终确定,但有些已经完成,最好尝试一下!

采纳答案by camflan

Ones that are built using a recent webkit build, and Presto.

使用最近的 webkit 构建和 Presto 构建的。

Safari 3.1 for webkit
Opera for Presto.

Safari 3.1 for webkit
Opera for Presto。

I'm pretty sure firefox will start supporting html5 partially in 3.1

我很确定 Firefox 将在 3.1 中开始部分支持 html5

All support is extremely partial. Check here for information on what is supported.

所有的支持都是非常片面的。检查这里上支持什么样的信息。

回答by uman

To test yourbrowser, go to http://html5test.com/. The code is being maintained at: github dot com slash NielsLeenheer slash html5test.

要测试您的浏览器,请访问http://html5test.com/。代码维护在:github dot com slash NielsLeenheer slash html5test。

回答by Anne

http://wiki.whatwg.org/wiki/Implementations_in_Web_browsershas information maintained by the WHATWG community (and everyone who drops by and edits it).

http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers包含由 WHATWG 社区(以及访问和编辑它的每个人)维护的信息。

Disclaimer: I'm a member of that community.

免责声明:我是该社区的成员。

回答by gisc

Major browsers are providing increased support now.

主要浏览器现在提供更多支持。

http://radar.oreilly.com/2009/05/google-bets-big-on-html-5.html

http://radar.oreilly.com/2009/05/google-bets-big-on-html-5.html

回答by Rich Bradshaw

Seems that new browsers support most of the tags: <header>, <section>etc. For older browsers (IE, Fx2, Camino etc) then you can use this to allow styling of these tags:

看来,新的浏览器支持大多数标签:<header><section>等等。对于旧的浏览器(IE,FX2,卡米诺等),那么你可以用它来让这些标签的样式:

document.createElement('header');

Would make these older browsers allow CSS styling of a header tag, instead of just ignoring it.

将使这些较旧的浏览器允许标题标签的 CSS 样式,而不是仅仅忽略它。

This means that you can now use the new tags without any loss of functionality, which is a good start!

这意味着您现在可以在不损失任何功能的情况下使用新标签,这是一个好的开始!

回答by emmet24son

i think right now is Firefox 3.6.2, but when internet explorer 9 launched, it will support HTML5

我认为现在是 Firefox 3.6.2,但是当 Internet Explorer 9 推出时,它将支持 HTML5

回答by JamieJag

This page is a neat summary, but is not entirely accurate:

此页面是一个简洁的摘要,但并不完全准确:

http://findmebyip.com/litmus#target-selector

http://findmebyip.com/litmus#target-selector

回答by Dan Herbert

Opera also has some support.

Opera 也有一些支持。

Generally however, it is too early to test out. You'll probably have to wait a year or 2 before any browser will have enough realistic support to test against.

然而,一般来说,现在进行测试还为时过早。您可能需要等待一两年,然后任何浏览器才会有足够的现实支持来进行测试。

EDITWikipedia has a good article on how much of HTML 5 various layout engines have implemented. It includes specific aspects of HTML 5.

编辑维基百科有一篇关于HTML 5 各种布局引擎已实现多少的好文章。它包括 HTML 5 的特定方面。