Package cascadia is an implementation of CSS selectors.
A Selector is a function which tells whether a node matches or not.
Compile parses a selector and returns, if successful, a Selector object that can be used to match against html.Node objects.
MustCompile is like Compile, but panics instead of returning an error.
Filter returns the nodes in nodes that match the selector.
Match returns true if the node matches the selector.
MatchAll returns a slice of the nodes that match the selector, from n and its children.
MatchFirst returns the first node that matches s, from n and its children.