I'm trying to use some of the pseudo classes to run a query, eg.

Code:
Ext.select('div.x-list-item:has(.some-flag)')
Error: SYNTAX_ERR: DOM Exception 12
What's wrong with that?