Skip to content
Permalink
Browse files

Added test for #945

  • Loading branch information
jzaefferer committed Mar 25, 2007
1 parent 707f23f commit 4e7c9b08a0fb6142755e39cfaae2f8330831008c
Showing with 10 additions and 1 deletion.
  1. +4 −1 build/test/index.html
  2. +6 −0 src/selector/selectorTest.js
@@ -85,7 +85,10 @@ <h2 id="userAgent"></h2>
<span id="utf8class2" class="台北"></span>
</form>
<b id="floatTest">Float test.</b>
<iframe id="iframe" name="iframe"></iframe>
<iframe id="iframe" name="iframe"></iframe>
<form id="lengthtest">
<input type="text" id="length" name="test">
</form>
</div>
</dl>

@@ -200,3 +200,9 @@ test("basic xpath", function() {
isSet( $("/p", this).get(), q("sndp", "en", "sap"), "Check XPath context" );
});
});

test('&lt;input name="length"&gt; cannot be found under IE, see #945', function() {
expect(2);
ok( $("#length").length );
ok( $("#lengthtest input").length );
});

0 comments on commit 4e7c9b0

Please sign in to comment.
You can’t perform that action at this time.