id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blocking,blockedby
6322,:has() does not correctly select elements if multiple criteria are inside,dwt,,"This testcase returns false, true true

{{{
var hasFoundwithClass = 1 === $('#contingent tbody tr:has(.name:contains(""foo""))').length;
var hasFoundWithoutClass = 1 === $('#contingent tbody tr:has(:contains(""foo""))').length;
var hasFoundWithOnlyClass = 1 === $('#contingent tbody tr:has(.name)').length;
}}}

While I believe that all three selectors should select the same node.

Testcase attached.",bug,closed,undecided,,selector,1.4.2,duplicate,,,,
