mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Updated test for #750
This commit is contained in:
parent
02483b4a59
commit
e0c7e6aec4
@ -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>
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user