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 testing native selectors engine.
Adjacent sibling combinators (E + F)
Adjacent sibling and general descendant combinators (E + F F)
Should be green (expected 3, found 3) - PASS
Adjacent sibling and child selector combinators (E + F > F)
Should be green (expected 1, found 1) - PASS
Adjacent sibling and adjacent sibling combinators (E + F + F)
Should be green (expected 1, found 1) - PASS
Adjacent sibling and general sibling combinators (E + F ~ F)
Should be green (expected 1, found 1) - PASS
General sibling combinators (E ~ F)
General sibling and general descendant combinators (E ~ F F)
Should be green (expected 3, found 3) - PASS
General sibling and child selector combinators (E ~ F > F)
Should be green (expected 1, found 1) - PASS
General sibling and adjacent sibling combinators (E ~ F + F)
Should be green (expected 1, found 1) - PASS
General sibling and general sibling combinators (E ~ F ~ F)