Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix sizzle selector tests with html additions

  • Loading branch information...
commit 93cc46709e03173288111f8b60d4192fea2ec8d0 1 parent 3ba396e
@timmywil timmywil authored
Showing with 10 additions and 2 deletions.
  1. +9 −1 test/index.html
  2. +1 −1  test/unit/selector.js
View
10 test/index.html
@@ -25,7 +25,7 @@ <h2 id="qunit-userAgent"></h2>
</div>
<!-- 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 -->
<iframe id="loadediframe" name="loadediframe" style="display:none;" src="data/iframe.html"></iframe>
- <dl id="dl" style="position:absolute;top:-32767px;left:-32767px;">
+ <dl id="dl" style="position:absolute;top:-32767px;left:-32767px;width:1px">
<div id="qunit-fixture">
<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>
<p id="ap">
@@ -168,6 +168,10 @@ <h2 id="qunit-userAgent"></h2>
<select name="D4" disabled="disabled">
<option selected="selected" value="NO">NO</option>
</select>
+ <input id="list-test" type="text" />
+ <datalist id="datalist">
+ <option value="option"></option>
+ </datalist>
</form>
<div id="moretests">
<form>
@@ -182,6 +186,10 @@ <h2 id="qunit-userAgent"></h2>
<div id="t2037">
<div><div class="hidden">hidden</div></div>
</div>
+ <div id="t6652">
+ <div></div>
+ </div>
+ <div id="no-clone-exception"><object><embed></embed></object></div>
</div>
<div id="tabindex-tests">
View
2  test/unit/selector.js
@@ -514,7 +514,7 @@ test("pseudo - position", function() {
t( "Check element position", "div div:eq(0)", ["nothiddendivchild"] );
t( "Check element position", "div div:eq(5)", ["t2037"] );
- t( "Check element position", "div div:eq(28)", ["hide"] );
+ t( "Check element position", "div div:eq(28)", ["fx-queue"] );
t( "Check element position", "div div:first", ["nothiddendivchild"] );
t( "Check element position", "div > div:first", ["nothiddendivchild"] );
t( "Check element position", "#dl div:first div:first", ["foo"] );
Please sign in to comment.
Something went wrong with that request. Please try again.