diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-08-06 18:44:36 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-08-06 18:44:36 +0000 |
commit | 425e76355a289341eb588874e04b82afdc9eeb99 (patch) | |
tree | 5fb46b03e53d5faa4be7b264b218e06673453f4c /tests | |
parent | 20e6ef30a7465294cdee081f14eb8ef3e0821514 (diff) | |
download | jquery-ui-425e76355a289341eb588874e04b82afdc9eeb99.tar.gz jquery-ui-425e76355a289341eb588874e04b82afdc9eeb99.zip |
accordion: fix for #4754; related tests were failing before, fixed them, too (checked to correct sizes in Firebug)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/accordion/accordion_options.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js index 95edae597..bb844f838 100644 --- a/tests/unit/accordion/accordion_options.js +++ b/tests/unit/accordion/accordion_options.js @@ -55,16 +55,16 @@ test("{ animated: String }", function() { test("{ autoHeight: true }, default", function() { $('#navigation').accordion({ autoHeight: true }); - equals( $('#navigation > li:eq(0) > ul').height(), 112 ); - equals( $('#navigation > li:eq(1) > ul').height(), 112 ); - equals( $('#navigation > li:eq(2) > ul').height(), 112 ); + equals( $('#navigation > li:eq(0) > ul').height(), 126 ); + equals( $('#navigation > li:eq(1) > ul').height(), 126 ); + equals( $('#navigation > li:eq(2) > ul').height(), 126 ); }); test("{ autoHeight: false }", function() { $('#navigation').accordion({ autoHeight: false }); - equals( $('#navigation > li:eq(0) > ul').height(), 80 ); - equals( $('#navigation > li:eq(1) > ul').height(), 112 ); - equals( $('#navigation > li:eq(2) > ul').height(), 48 ); + equals( $('#navigation > li:eq(0) > ul').height(), 90 ); + equals( $('#navigation > li:eq(1) > ul').height(), 126 ); + equals( $('#navigation > li:eq(2) > ul').height(), 54 ); }); test("{ clearStyle: false }, default", function() { |