aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-06-04 02:47:06 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-06-04 02:47:06 +0000
commit9047a630494e63e7fd6262fcf3f39e0ae78f1c31 (patch)
tree9e2d2817e232186a9b52f88906cc55530bfa85ce
parent26c16a7e6fc66107819fd9900bc7e7daec561a7f (diff)
downloadjquery-ui-9047a630494e63e7fd6262fcf3f39e0ae78f1c31.tar.gz
jquery-ui-9047a630494e63e7fd6262fcf3f39e0ae78f1c31.zip
Modified resizable grid test for #2939
-rw-r--r--ui/tests/resizable.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/tests/resizable.js b/ui/tests/resizable.js
index 0d01344cd..9fe4d4a0d 100644
--- a/ui/tests/resizable.js
+++ b/ui/tests/resizable.js
@@ -359,20 +359,20 @@ test("ui-resizable-ne { aspectRatio: 'preserve', handles: 'all', minWidth: 70, m
module("Options");
-test("ui-resizable-se { handles: 'all', gird: [20, 20] }", function() {
+test("ui-resizable-se { handles: 'all', gird: [0, 20] }", function() {
- var handle = '.ui-resizable-se', target = $('#resizable1').resizable({ handles: 'all', grid: [20, 20] });
+ var handle = '.ui-resizable-se', target = $('#resizable1').resizable({ handles: 'all', grid: [0, 20] });
expect(4);
drag(handle, 10, 10);
- equals( 100, target.width(), "compare width");
+ equals( 109, target.width(), "compare width");
equals( 100, target.height(), "compare height");
drag(handle, 30, 30);
- equals( 120, target.width(), "compare width");
+ equals( 138, target.width(), "compare width");
equals( 120, target.height(), "compare height");