On 2011-11-25 03:58, Tab Atkins Jr. wrote:
Alternately, assume that :matches() is eventually changed to allow complex selectors. Using :scope there is completely fine.
I'm not sure what you mean. The current spec for matchesSelector does allow complex selectors as it's defined to accept a "group of selectors" (selectors 3 terminology), which is equivalent to a selector list (selectors 4). But :scope is still only useful when ref nodes are supplied.
-- Lachlan Hunt - Opera Software http://lachy.id.au/ http://www.opera.com/
