Commit 5ed992d5 authored by John Resig's avatar John Resig

Making the test suite a little more XML-compliant.

parent bdb5dad8
...@@ -91,8 +91,8 @@ ...@@ -91,8 +91,8 @@
<b id="floatTest">Float test.</b> <b id="floatTest">Float test.</b>
<iframe id="iframe" name="iframe"></iframe> <iframe id="iframe" name="iframe"></iframe>
<form id="lengthtest"> <form id="lengthtest">
<input type="text" id="length" name="test"> <input type="text" id="length" name="test"/>
<input type="text" id="idTest" name="id"> <input type="text" id="idTest" name="id"/>
</form> </form>
<table id="table"></table> <table id="table"></table>
</div> </div>
......
...@@ -407,7 +407,7 @@ test("append(String|Element|Array&lt;Element&gt;|jQuery)", function() { ...@@ -407,7 +407,7 @@ test("append(String|Element|Array&lt;Element&gt;|jQuery)", function() {
ok( pass, "Test for appending a DOM node to the contents of an IFrame" ); ok( pass, "Test for appending a DOM node to the contents of an IFrame" );
reset(); reset();
$('<fieldset>').appendTo('#form').append('<legend id="legend">test</legend>'); $('<fieldset/>').appendTo('#form').append('<legend id="legend">test</legend>');
t( 'Append legend', '#legend', ['legend'] ); t( 'Append legend', '#legend', ['legend'] );
reset(); reset();
...@@ -417,7 +417,7 @@ test("append(String|Element|Array&lt;Element&gt;|jQuery)", function() { ...@@ -417,7 +417,7 @@ test("append(String|Element|Array&lt;Element&gt;|jQuery)", function() {
$('#table').append('<colgroup></colgroup>'); $('#table').append('<colgroup></colgroup>');
ok( $('#table colgroup').length, "Append colgroup" ); ok( $('#table colgroup').length, "Append colgroup" );
$('#table colgroup').append('<col>'); $('#table colgroup').append('<col/>');
ok( $('#table colgroup col').length, "Append col" ); ok( $('#table colgroup col').length, "Append col" );
reset(); reset();
......
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