Jsdom 5.2.0 发布, JavaScript 的 HTML 解析器
开源中国的 IT 公司开源软件整理计划介绍
Jsdom 5.2.0 发布,此版本主要有以下更新:
Implemented much of the ParentNode mixin (Joris-van-der-Wel):
Moved children from Node to ParentNode, i.e., made it available on Document, DocumentFragment, and Element, but not other types of nodes.
Made children a HTMLCollection instead of a NodeList.
Implemented firstElementChild, lastElementChild, and childElementCount.Implemented the outerHTML setter. (Joris-van-der-Wel)
Fixed the outerHTML getter for <select> and <form>. (Joris-van-der-Wel)
Fixed various issues with window-less documents, so that they no longer give incorrect results or blow up in strange ways. You can create such documents with e.g. document.implementation.createHTMLDocument(). (Joris-van-der-Wel)
Fixed relative stylesheet resolution when using @import. (dbo)
详细信息请查看更新日志。
此版本现已提供下载:
https://github.com/tmpvar/jsdom/archive/5.2.0.zip
jsdom 是 WHATWG DOM 和 HTML 标准的 JavaScript 实现,主要用于 io.js 框架。