Skip to content
Permalink
Browse files

Updated test for #750

  • Loading branch information
jzaefferer committed Jan 3, 2007
1 parent 02483b4 commit e0c7e6aec4cf55854217d5c0b2c7069ce84a3d12
Showing with 7 additions and 2 deletions.
  1. +5 −0 build/test/index.html
  2. +2 −2 src/selector/selectorTest.js
@@ -72,6 +72,11 @@ <h2 id="userAgent"></h2>
<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() {

0 comments on commit e0c7e6a

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