});
test("append(String|Element|Array<Element>|jQuery)", function() {
- expect(14);
+ expect(16);
var defaultText = 'Try them out:'
var result = $('#first').append('<b>buga</b>');
ok( result.text() == defaultText + 'buga', 'Check if text appending works' );
$('#select1').append('<OPTION>Test</OPTION>');
ok( $('#select1 option:last').text() == "Test", "Appending <OPTION> (all caps)" );
+ $('#table').append('<colgroup></colgroup>');
+ ok( $('#table colgroup').length, "Append colgroup" );
+
+ $('#table colgroup').append('<col>');
+ ok( $('#table colgroup col').length, "Append col" );
});
test("appendTo(String|Element|Array<Element>|jQuery)", function() {