Commit e0c7e6ae authored by Jörn Zaefferer's avatar Jörn Zaefferer

Updated test for #750

parent 02483b4a
...@@ -72,6 +72,11 @@ ...@@ -72,6 +72,11 @@
<option id="option3c" selected="selected" value="2">2</option> <option id="option3c" selected="selected" value="2">2</option>
<option id="option3d" value="3">3</option> <option id="option3d" value="3">3</option>
</select> </select>
<object id="object1" codebase="stupid">
<param id="param1" />
<param id="param2" />
</object>
</form> </form>
<b id="floatTest">Float test.</b> <b id="floatTest">Float test.</b>
</div> </div>
......
...@@ -7,8 +7,8 @@ test("expressions - element", function() { ...@@ -7,8 +7,8 @@ test("expressions - element", function() {
t( "Element Selector", "body", ["body"] ); t( "Element Selector", "body", ["body"] );
t( "Element Selector", "html", ["html"] ); t( "Element Selector", "html", ["html"] );
t( "Parent Element", "div div", ["foo"] ); t( "Parent Element", "div div", ["foo"] );
t( "Object/Param element", "#object param", ["param1", "param2"] ); t( "Object/Param element", "#object1 param", ["param1", "param2"] );
ok( $("param", $("#object")[0]).length == 2, "Object/param as context" ); ok( $("param", $("#object1")[0]).length == 2, "Object/param as context" );
}); });
test("expressions - id", function() { test("expressions - id", function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment