web-platform-tests/wpt

Test DOM XPath behaviour with root element adjacent nodes

Open

#10.072 geöffnet am 16. März 2018

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (2.898 Forks)batch import
domxpathgood first issuetype:missing-coverage

Repository-Metriken

Stars
 (4.581 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 23h) (682 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide