There is a type of XPath like this
//div[span[a[@title='foo']]]
where it matches & returns the div (not the hyperlink) that contains a span, which in turn contains a hyperlink with title "foo".
is there a CSS selector format equivalent to this?
I gave it a short trying to convert to CSS, and if there is an equivalent, I don't know how to map it correctly.