jQuery quirksmode bug - html DOCTYPE

#context
named
#results
$('*[name="named"]', '#context').length // scoped
$('*:not([name!="named"])').length // workaround
$('*[name="named"]').length // unscoped
document.getElementsByName('named').length // native
$(':not(:selected)[name="named"]', '#context').length // scoped non-qSA
$(':not(:selected)[name="named"]').length // unscoped non-qSA