This matches if and only if the subject matches an element that has a specific relationship with the element matched by the contextual matcher. Therefore, it first attempts to match an element against the contextual matcher, recording whether it matched or not. If it did not match then it tries again on the next element. If it did match then it tries to match the subject matcher against all descendant elements.
The relationship is defined by the state associated with the matcher.
This is now not required to function as a runtime matcher, as the new styling engine breaks down composite matchers into a series of simple matchers. As such, some methods are no longer supported.
|
|