mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion unit tests: One more height-testing hotfix for Safari 3.x
This commit is contained in:
parent
4f4843a9fb
commit
cfe3be7234
@ -73,11 +73,11 @@ test("{ autoHeight: false }", function() {
|
||||
var accordion = $('#navigation').accordion({ autoHeight: false });
|
||||
var sizes = [];
|
||||
accordion.find(".ui-accordion-content").each(function() {
|
||||
sizes.push($(this).outerHeight());
|
||||
sizes.push($(this).height());
|
||||
});
|
||||
ok( sizes[0] >= 70 && sizes[0] <= 90 );
|
||||
ok( sizes[1] >= 98 && sizes[1] <= 126 );
|
||||
ok( sizes[2] >= 54 && sizes[2] <= 54 );
|
||||
ok( sizes[0] >= 70 && sizes[0] <= 90, "was " + sizes[0] );
|
||||
ok( sizes[1] >= 98 && sizes[1] <= 126, "was " + sizes[1] );
|
||||
ok( sizes[2] >= 54 && sizes[2] <= 54, "was " + sizes[2] );
|
||||
});
|
||||
|
||||
test("{ collapsible: false }, default", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user