]> source.dussan.org Git - jquery.git/commitdiff
Making the test suite a little more XML-compliant.
authorJohn Resig <jeresig@gmail.com>
Sun, 8 Jul 2007 04:46:21 +0000 (04:46 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 8 Jul 2007 04:46:21 +0000 (04:46 +0000)
build/test/index.html
src/jquery/coreTest.js

index 36e37aed1582c43fbd40723c9db0d98d4d3e7475..756e2a5e3b7914278c338192cd49a6d5bb964c4a 100644 (file)
@@ -91,8 +91,8 @@
                <b id="floatTest">Float test.</b>
                <iframe id="iframe" name="iframe"></iframe>
                <form id="lengthtest">
-                       <input type="text" id="length" name="test">
-                       <input type="text" id="idTest" name="id">
+                       <input type="text" id="length" name="test"/>
+                       <input type="text" id="idTest" name="id"/>
                </form>
                <table id="table"></table>
        </div>
index 43b9e81016ec8f007f053af0bb83e96b78c7345f..8d7e9f89c258a38d7e259dcf0beb5b2cb74680d7 100644 (file)
@@ -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" );
        
        reset();
-       $('<fieldset>').appendTo('#form').append('<legend id="legend">test</legend>');
+       $('<fieldset/>').appendTo('#form').append('<legend id="legend">test</legend>');
        t( 'Append legend', '#legend', ['legend'] );
        
        reset();
@@ -417,7 +417,7 @@ test("append(String|Element|Array&lt;Element&gt;|jQuery)", function() {
        $('#table').append('<colgroup></colgroup>');
        ok( $('#table colgroup').length, "Append colgroup" );
        
-       $('#table colgroup').append('<col>');
+       $('#table colgroup').append('<col/>');
        ok( $('#table colgroup col').length, "Append col" );
        
        reset();