To test for cross-browsers inconsistences (native selector engine):
execute these tests in a browsers without support for "querySelectorAll" (Opera < 10, Firefox <= 3.1, IE6/7)
execute these tests on any browsers, the "querySelectorAll" method, if present, is overwritten with "null"
compare the results obtained from different browsers, also, test different versions of the same browser
NOTE1: All the following tests lines should be green on any browser, even those missing QSA support. NOTE2: Internal Query Selector API's are now overwritten to force testiing native selectors engine.
Descendant combinators (E F)
Descendant and general descendant combinators (E F F)
Should be green (expected 3, found 3) - PASS
Descendant and child selector combinators (E F > F)
Should be green (expected 1, found 1) - PASS
Descendant and adjacent sibling combinators (E F + F)
Should be green (expected 1, found 1) - PASS
Descendant and general sibling combinators (E F ~ F)
Should be green (expected 1, found 1) - PASS
Direct descendant combinators (E > F)
Direct descendant and general descendant combinators (E > F F)
Should be green (expected 3, found 3) - PASS
Direct descendant and child selector combinators (E > F > F)
Should be green (expected 1, found 1) - PASS
Direct descendant and adjacent sibling combinators (E > F + F)
Should be green (expected 1, found 1) - PASS
Direct descendant and general sibling combinators (E > F ~ F)