web-platform-tests/wpt

Test DOM XPath behaviour with root element adjacent nodes

Open

#10.072 aperta il 16 mar 2018

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)HTML (2898 fork)batch import
domxpathgood first issuetype:missing-coverage

Metriche repository

Star
 (4581 star)
Metriche merge PR
 (Merge medio 5g 23h) (682 PR mergiate in 30 g)

Descrizione

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.

Guida contributor