Permalink
Browse files

NEW Reproducible test for #31

  • Loading branch information...
1 parent bbd2be9 commit 30df972f5393a7c7b200707e43f0ba0000f7dee3 @subtleGradient subtleGradient committed Mar 26, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 SlickSpec/specs/mock_template.js
@@ -245,6 +245,16 @@ var specsMockTemplate = function(context){
it_should_find(22 , 'div + p');
it_should_find(183 , 'div ~ p');
+ var div;
+ div = context.document.getElementsByTagName('div')[2];
+ it_should_find(3, 'p', div);
+ it_should_find(5, '> *', div);
+ it_should_find(3, '> p', div);
+ it_should_find(1, '+ *', div);
+ it_should_find(1, '+ p', div);
+ it_should_find(281, '~ *', div);
+ it_should_find(152, '~ p', div);
+
it_should_find(43 , 'div[class^=exa][class$=mple]');
it_should_find(12 , 'div p a:not([href^=tel:])');
it_should_find(683 , 'div,p,a:not([href^=tel:])');

0 comments on commit 30df972

Please sign in to comment.