web-platform-tests/wpt

Test DOM XPath behaviour with root element adjacent nodes

Open

#10,072 创建于 2018年3月16日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)HTML (4,581 star) (2,898 fork)batch import
domxpathgood first issuetype:missing-coverage

描述

See https://github.com/w3c/web-platform-tests/pull/10055#issuecomment-373666278

we need tests for root adjacent comments, [processing instructions], and doctypes (esp. doctypes, given XPath has no notion of them)

See domxpath/document.tentative.html for a similar test. The DOCTYPE and comment are easily enough tested in HTML; the PI case is probably easiest to do by adding it through the DOM.

贡献者指南