国外开发者眼中HTML5和HTML5.1之间的差异

HTML5DW讯 5月18日消息,日前国外HTML5用户对比了一下HTML5与HTML5.1的不同点,从其罗列的内容来看,HTML5规格的标准化,其核心的词汇和功能将有四种方式的扩展。

html5.jpg

1.HTML5.1将去除HTML5规格模块单独标准化(HTML5 API等);

2.随模块引入HTML5的扩展名(比如多语种标记);

3.已被改编成HTML5扩展或功能(如SVG原本独立的规范);

这位国外HTML5开发者认为,许多网站设计者不知道这些天关于HTML5和HTML5.1之间的差异。的HTML5.1引入了新的元素,属性和特性,具有以下延伸的HTML5.0:

DOMElementMap,document.cssElementMap

With the recent standardization of the HTML5 specification, the core vocabulary and features are being extended in four ways: 1) As modules that have been removed from the original HTML5 specifications to be standardized separately (HTML5 APIs such as Microdata or the Canvas), 2) As modules introduced as HTML5 extensions like Polyglot Markup, 3) As originally separate specifications that have been adapted as HTML5 extensions or features such as SVG, and 4) As upcoming specifications such as HTML 5.1, HTML 5.2, and so forth (specific features that would have slowed down the standardization of HTML5). HTML 5.1 is expected to be finalized in 2016, and it is currently on the standardization track at the W3C.

Many web designers wonder these days about the differences between HTML5 and HTML 5.1. HTML 5.1 introduced new elements, attributes, and features, extending HTML 5.0 with the following:

DOMElementMap, document.cssElementMap

CanvasProxy, transferControlToProxy()

probablySupportsContext()

setContext()

forceSpellCheck()

inert attribute

table sorting

menu, menuitem, contextmenu

allowFullScreen

fastSeek()

toDataURLHD(), toBlobHD()

Autocomplete limited to on|off, inputmode

ImageBitmap

details and summary element

dialog element

:dir() pseudoclass

seamless iframes

isContentHandlerRegistered() and isProtocolHandlerRegistered() methods

datetime, datetime-local, week, month input types

reportValidity() method

scoped style

XMLDocument interface

picture element and srcset attribute

PS:全英文,你能都看懂嘛?求翻译!