Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix sizzle selector tests with html additions

  • Loading branch information...
commit 93cc46709e03173288111f8b60d4192fea2ec8d0 1 parent 3ba396e
Timmy Willison timmywil authored

Showing 2 changed files with 10 additions and 2 deletions. Show diff stats Hide diff stats

  1. +9 1 test/index.html
  2. +1 1  test/unit/selector.js
10 test/index.html
@@ -25,7 +25,7 @@ <h2 id="qunit-userAgent"></h2>
25 25 </div>
26 26 <!-- this iframe is outside the #qunit-fixture so it won't reload constantly wasting time, but it means the tests must be "safe" and clean up after themselves -->
27 27 <iframe id="loadediframe" name="loadediframe" style="display:none;" src="data/iframe.html"></iframe>
28   - <dl id="dl" style="position:absolute;top:-32767px;left:-32767px;">
  28 + <dl id="dl" style="position:absolute;top:-32767px;left:-32767px;width:1px">
29 29 <div id="qunit-fixture">
30 30 <p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p>
31 31 <p id="ap">
@@ -168,6 +168,10 @@ <h2 id="qunit-userAgent"></h2>
168 168 <select name="D4" disabled="disabled">
169 169 <option selected="selected" value="NO">NO</option>
170 170 </select>
  171 + <input id="list-test" type="text" />
  172 + <datalist id="datalist">
  173 + <option value="option"></option>
  174 + </datalist>
171 175 </form>
172 176 <div id="moretests">
173 177 <form>
@@ -182,6 +186,10 @@ <h2 id="qunit-userAgent"></h2>
182 186 <div id="t2037">
183 187 <div><div class="hidden">hidden</div></div>
184 188 </div>
  189 + <div id="t6652">
  190 + <div></div>
  191 + </div>
  192 + <div id="no-clone-exception"><object><embed></embed></object></div>
185 193 </div>
186 194
187 195 <div id="tabindex-tests">
2  test/unit/selector.js
@@ -514,7 +514,7 @@ test("pseudo - position", function() {
514 514
515 515 t( "Check element position", "div div:eq(0)", ["nothiddendivchild"] );
516 516 t( "Check element position", "div div:eq(5)", ["t2037"] );
517   - t( "Check element position", "div div:eq(28)", ["hide"] );
  517 + t( "Check element position", "div div:eq(28)", ["fx-queue"] );
518 518 t( "Check element position", "div div:first", ["nothiddendivchild"] );
519 519 t( "Check element position", "div > div:first", ["nothiddendivchild"] );
520 520 t( "Check element position", "#dl div:first div:first", ["foo"] );

0 comments on commit 93cc467

Please sign in to comment.
Something went wrong with that request. Please try again.