Added test for #945

This commit is contained in:
Jörn Zaefferer 2007-03-25 11:52:53 +00:00
parent 707f23f83a
commit 4e7c9b08a0
2 changed files with 10 additions and 1 deletions

View file

@ -85,7 +85,10 @@
<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>

View file

@ -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 );
});