]> source.dussan.org Git - jquery.git/commitdiff
Changed the order of the tests to run in the same order in which they're specified...
authorjeresig <jeresig@gmail.com>
Tue, 23 Mar 2010 16:31:40 +0000 (12:31 -0400)
committerwycats <wycats@gmail.com>
Sun, 20 Jun 2010 05:29:47 +0000 (22:29 -0700)
test/index.html
test/unit/dimensions.js

index 13abd97f9f3c9840a799c4c914e9f51bb9de74b9..be1f3632a9ada844f6ffc1a3ad0880327e163fa6 100644 (file)
 
        <script src="../src/core.js"></script>
        <script src="../src/support.js"></script>
-       <script src="../src/sizzle/sizzle.js"></script>
-       <script src="../src/sizzle-jquery.js"></script>
        <script src="../src/data.js"></script>
        <script src="../src/queue.js"></script>
        <script src="../src/attributes.js"></script>
-       <script src="../src/css.js"></script>
+       <script src="../src/event.js"></script>
+       <script src="../src/sizzle/sizzle.js"></script>
+       <script src="../src/sizzle-jquery.js"></script>
        <script src="../src/traversing.js"></script>
        <script src="../src/manipulation.js"></script>
-       <script src="../src/dimensions.js"></script>
-       <script src="../src/event.js"></script>
+       <script src="../src/css.js"></script>
        <script src="../src/ajax.js"></script>
        <script src="../src/effects.js"></script>
        <script src="../src/offset.js"></script>
+       <script src="../src/dimensions.js"></script>
 
        <script src="qunit/qunit/qunit.js"></script>
        <script src="data/testrunner.js"></script>
+
        <script src="unit/core.js"></script>
        <script src="unit/data.js"></script>
        <script src="unit/queue.js"></script>
        <script src="unit/attributes.js"></script>
-       <script src="unit/css.js"></script>
+       <script src="unit/event.js"></script>
+       <script src="unit/selector.js"></script>
        <script src="unit/traversing.js"></script>
        <script src="unit/manipulation.js"></script>
-       <script src="unit/dimensions.js"></script>
-       <script src="unit/selector.js"></script>
-       <script src="unit/event.js"></script>
+       <script src="unit/css.js"></script>
        <script src="unit/ajax.js"></script>
        <script src="unit/effects.js"></script>
        <script src="unit/offset.js"></script>
+       <script src="unit/dimensions.js"></script>
 </head>
 
 <body id="body">
index 74405cee76fb73dbd8bcce4397df9288e88b53e7..539779077ade7a1ee42906db1d36f898096cc19d 100644 (file)
@@ -26,7 +26,7 @@ function testWidth( val ) {
 
        $div.css({ display: "", border: "", padding: "" });
 
-       jQuery("#nothiddendivchild").css({ padding: "3px", border: "2px solid #fff" });
+       jQuery("#nothiddendivchild").css({ width: 20, padding: "3px", border: "2px solid #fff" });
        equals(jQuery("#nothiddendivchild").width(), 20, "Test child width with border and padding");
        jQuery("#nothiddendiv, #nothiddendivchild").css({ border: "", padding: "", width: "" });