Added the new :has() selector (Bug #1521)