set:has-same-node() determines whether two node-sets have any nodes in common.
Syntax
set:has-same-node(nodeSet1, nodeSet2)
Parameters
nodeSet1- : The first node set to check.
nodeSet2- : The second node set to check.
Return value
true if the two node-sets have any nodes in common; otherwise false.
Specifications
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
