Clarify if Document (and other non-Element Nodes) are allowed as startNodes of browsingContext.locateNodes #703
Labels
browsingContext
Browsing Context module
needs-discussion
Issues to be discussed by the working group
In the current spec for browsingContext.locateNodes, it is not clear if we can pass only
Element
in thestartNodes
parameter or if non-Elements (egDocument
) are allowed.For the accessibility and innerText locators, the spec calls other specs which only work with Elements:
Should we restrict startNodes to only contain Elements? Or should we add a special case if a
Document
is provided to use its document element?The text was updated successfully, but these errors were encountered: