From: timmywil Date: Thu, 13 Oct 2011 15:11:41 +0000 (-0400) Subject: Update sizzle; Add sizzle cache collision iframe test. Fixes #8539. X-Git-Tag: 1.7b2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8723f3b9e1db5d4fdcd50624441fe3536d1ae2f2;p=jquery.git Update sizzle; Add sizzle cache collision iframe test. Fixes #8539. --- diff --git a/src/sizzle b/src/sizzle index 3ffd629e3..f56f17849 160000 --- a/src/sizzle +++ b/src/sizzle @@ -1 +1 @@ -Subproject commit 3ffd629e38c3a1cc31febc010718c985a4f85a4d +Subproject commit f56f1784961a63f4118e43b1441ffc2f32ef5d41 diff --git a/test/data/selector.html b/test/data/selector.html deleted file mode 100644 index 8ffc6c6b3..000000000 --- a/test/data/selector.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - jQuery selector - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
- - - -
- - - - - -
    - -
    - -
    - - - - - - - - - - - - - - - -
    -
    Term
    This is the first definition in compact format.
    -
    Term
    This is the second definition in compact format.
    -
    - - - - Scrolling text (non-standard) - - diff --git a/test/data/selector/html5_selector.html b/test/data/selector/html5_selector.html new file mode 100644 index 000000000..28aa2b607 --- /dev/null +++ b/test/data/selector/html5_selector.html @@ -0,0 +1,133 @@ + + + + + jQuery selector - attributes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + +
    + + + +
    + + + + + +
      + +
      + +
      + + + + + + + + + + + + + + + +
      +
      Term
      This is the first definition in compact format.
      +
      Term
      This is the second definition in compact format.
      +
      + + + + Scrolling text (non-standard) + + diff --git a/test/data/selector/sizzle_cache.html b/test/data/selector/sizzle_cache.html new file mode 100644 index 000000000..de1a583b2 --- /dev/null +++ b/test/data/selector/sizzle_cache.html @@ -0,0 +1,40 @@ + + + + + jQuery selector - sizzle cache + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + Worlds collide +
      + + + diff --git a/test/unit/selector.js b/test/unit/selector.js index 441258008..2c9dcec83 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -17,7 +17,7 @@ var testIframe = function( fileName, name, fn ) { var loadFixture = function() { // Creates iframe with cache disabled - var src = "./data/" + fileName + ".html?" + parseInt( Math.random()*1000, 10 ), + var src = "./data/selector/" + fileName + ".html?" + parseInt( Math.random()*1000, 10 ), iframe = jQuery("