DOM4 更新 [was: Re: 【W3C要闻】W3C发布三份正式推荐标准(2015年11月)]

Hi 一丝,

DOM4的更新和阶段目标在文档的Goals章节[1]里,主要为了整合以前几个跟DOM相关的规范,适配Javascript的更新,根据现有的浏览器更新和简化DOM模型。:

1. By consolidating DOM Level 3 Core, Element Traversal, Selectors API Level 2, the "DOM Event Architecture" and "Basic Event Interfaces" chapters of UI Events (specific type of events do not belong in the DOM Standard), andDOM Level 2 Traversal and Range, and:
 • Aligning them with the JavaScript ecosystem where possible.
 • Aligning them with existing implementations.
 • Simplifying them as much as possible.

2. By moving features from the HTML Standard that ake more sense to be specified as part of the DOM Standard.

3. By defining a replacement for the "Mutation Events" and "Mutation Name Event Types" chapters of UI Events Specification (formerly DOM Level 3 Events) as the old model was problematic.

4. By defining new features that simplify common DOM operations.

--
xiaoqian

[1] http://www.w3.org/TR/dom/#goals <http://www.w3.org/TR/dom/#goals>


> On 11 Dec 2015, at 4:50 PM, 一丝 <yiorsi@gmail.com> wrote:
> 
> DOM4 主要更新了哪些东西?
> 
> 
> 以上
> 一丝
> 
> 在 2015年11月26日 下午10:26,Xueyuan Jia <xueyuan@w3.org <mailto:xueyuan@w3.org>>写道:
> 
> 亲爱的W3C中国区会员,
> 您好!
> 
> W3C于2015年11月份发布三份正式推荐标准:
> 
> * 2015年11月24日,W3C的XML查询工作组(XQuery WG)和XSLT工作组(XSLT WG) 发布了XQuery与XPath全文本3.0(XQuery and XPath Full Text 3.0)的正式推荐 标准。该文档定义了XQuery与XPath全文本3.0的语法及形式语义。XQuery与XPath 全文本3.0是一种利用其全文本搜索特性对XQuery3.0(XML查询语言)与XPath 3.0(XML路径语言)进行扩展的语言。
>   XQuery and XPath Full Text 3.0
>   http://www.w3.org/TR/2015/REC-xpath-full-text-30-20151124/ <http://www.w3.org/TR/2015/REC-xpath-full-text-30-20151124/>
> 
> * 2015年11月19日,W3C的HTML工作组发布了HTML画布2D上下文(HTML Canvas 2D Context)的正式推荐标准。该规范为HTML画布(canvas)元素定义了2D上下文, 包括用于在画布上绘制和操作图形所需的对象、方法、属性。
>   HTML Canvas 2D Context
>   http://www.w3.org/TR/2015/REC-2dcontext-20151119/ <http://www.w3.org/TR/2015/REC-2dcontext-20151119/>
> 
> * 2015年11月19日,W3C的HTML工作组发布了文档对象模型(W3C DOM4)的W3C正式 推荐标准。DOM定义了一个平台中立的模型,用于处理文档节点树及相关事件。 DOM4增加了Mutation Observers (突变观测器),作为原来 Mutation Events(突变事件)的替代。
>   W3C DOM4
>   http://www.w3.org/TR/2015/REC-dom-20151119/ <http://www.w3.org/TR/2015/REC-dom-20151119/>
> 
> 更多信息,欢迎访问W3C中国官方主页:
>   http://www.chinaw3c.org/ <http://www.chinaw3c.org/>
> 
> 
> 如有任何问题请随时联系我们!
> 祝好!
> 
> Xueyuan Jia
> W3C Marketing & Communications
> Mailto: xueyuan@w3.org <mailto:xueyuan@w3.org>
> Phone: 86-10-82339164
> Mobile: 86-18612970645
> 
> 
> -- 
> 
> 
> 

Received on Monday, 14 December 2015 16:13:31 UTC