mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Changed the order of the tests to run in the same order in which they're specified in the Makefile (fixed a dimensions test bug that popped up as a result).
This commit is contained in:
@@ -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: "" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user