mini\Html\Element::matchesComplexSelector()
Method
private
Signature
private function matchesComplexSelector(mini\Html\Element $element, array $segments): bool
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$element |
mini\Html\Element |
required | Documentation missing |
$segments |
array |
required | Documentation missing |
Returns
bool
Documentation
Test if an element matches a complex selector by walking ancestors right-to-left.
Per the DOM spec, the full document hierarchy is considered — ancestors above the base element participate in matching.