免费全开源家具行业 MES 系统:家具工厂实现数字化升级的最佳选择
负责制定Web标准的World Wide Web Consortium (W3C)正式发表了HTML5.1推荐规格,规格定义了HTML语言第五大版本的第一个小版本。
W3C已在着手制定下个版本HTML5.2,计划2017年下半年发表并替换此次HTML5.1的规格。’
这里摘出HTML5.1和HTML5之间的改变部分:
功能添加
- The
pictureandsrcsetattributes allow responsive image selection. - The
detailsandsummaryelements enable authors to provide extended information that users can choose whether to read. - The
menuitemandtype="context"attribute value enable authors to add functionality to the browser’s context menu. - The
requestAnimationFrameAPI allows for more efficient animation. enqueueJobandnextJobhelp explain Promise resolution in terms of microtasks.- The
revattribute for links, primarily to support RDFa (previously defined in HTML 4). HTMLMediaElementandsrcObjectobjects.- Enable cross-origin
trackandEventSourceand cross-origin content forImageBitmapincanvas. event-source-error,event-track-errorandevent-track-loadevents for media fetching.onrejectionhandledandonunhandledrejectionand APIs for tracking promise rejection.HTMLTableCaptionElement,HTMLTableSectionElement,HTMLTableRowElement, for HTML table elements.history.scrollRestorationto control where a users’ view is directed when navigating through their history.- IDL
[SameObject], for some objects that return collections. - Add “noopener” to
relandwindowto allow for browsing contexts to be separated. nonceattribute onscriptandstyleto support the use of Content Security Policy.
功能移除
appCache.- Media Controllers.
- The
commandAPI. - The
usemapattribute onobject. - The
accessKeyLabelIDL attribute. - The
formattribute is no longer valid forlabel. - The
multipleattribute oninput type="range". hreflangandtypeattributes onarea.- The use of nested
sectionelements each with anh1to create an outline. - Special handling of
isindexin form submission. navigator.yieldForStorageUpdates()and the Storage mutex.- Disallow
tfootbeforetbody. [Exposed=Window]for HTMLHyperLinkElementUtils,[Exposed=Window, Worker]for DOMStringMap and IDLDate.
现有功能调整
- The
accesskeytakes a single character as a value (as in HTML 4). headerandfooterelements can be nested, if each level is within a sectioning element.optionelements can be empty.- The
mousewheelevent is calledwheel. - The
valueattribute ofinput type="submit"is translatable. - A
figcaptioncan appear anywhere within afigure. - Having
title, or writing email to a friend does not make animgmissingaltconformant. - The content of
timeis phrasing content, or text. - Blank
altonareaelements with duplicatehrefattributes is no longer conformant. - When navigating internally, the next search for a link etc starts from where the navigation moved to.
imgand related elements supportwidth="0"..tFootand.createTFoot()always insert at the end of a tablefieldsetandnamedItemmakeHTMLCollections notHTMLFormControlsCollections andHTMLOptionsCollections.frameElementcan returnnull.- For images which don’t resolve
currentSrcis the URL given to the resolver, not necessarily the absolute URL. scriptIDL attributes reflect.meta refreshallows;orurl=to be optional.navigator.javaEnabled()is a method.fileCallbackis calledblobcallback.- The
toBlob()callback is non-nullable. originonHTMLHyperlinkElementUtilsandLocationis readonly.- The first
titlechild of an SVG is its title, not the last. window.open()can returnnull










