Updated test for #750

This commit is contained in:
Jörn Zaefferer 2007-01-03 20:48:40 +00:00
parent 02483b4a59
commit e0c7e6aec4
2 changed files with 7 additions and 2 deletions

View file

@ -72,6 +72,11 @@
<option id="option3c" selected="selected" value="2">2</option>
<option id="option3d" value="3">3</option>
</select>
<object id="object1" codebase="stupid">
<param id="param1" />
<param id="param2" />
</object>
</form>
<b id="floatTest">Float test.</b>
</div>

View file

@ -7,8 +7,8 @@ test("expressions - element", function() {
t( "Element Selector", "body", ["body"] );
t( "Element Selector", "html", ["html"] );
t( "Parent Element", "div div", ["foo"] );
t( "Object/Param element", "#object param", ["param1", "param2"] );
ok( $("param", $("#object")[0]).length == 2, "Object/param as context" );
t( "Object/Param element", "#object1 param", ["param1", "param2"] );
ok( $("param", $("#object1")[0]).length == 2, "Object/param as context" );
});
test("expressions - id", function() {