mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion unit tests: Further normalization of styles to get consistent results across browsers
This commit is contained in:
parent
8d57aa1847
commit
b012de18a4
@ -25,8 +25,7 @@
|
||||
|
||||
<style>
|
||||
#main { font-size: 10pt; font-family: 'trebuchet ms', verdana, arial; }
|
||||
#main h2 { margin: 0; }
|
||||
#main ul, #main li { padding: 0; }
|
||||
#navigation * { margin: 0; padding: 0; font-size: 12px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -116,9 +116,9 @@ test("{ fillSpace: false }, default", function() {
|
||||
test("{ fillSpace: true }", function() {
|
||||
$("#navigationWrapper").height(500);
|
||||
$('#navigation').accordion({ fillSpace: true });
|
||||
equals( $('#navigation > li:eq(0) > ul').height(), 362 );
|
||||
equals( $('#navigation > li:eq(1) > ul').height(), 362 );
|
||||
equals( $('#navigation > li:eq(2) > ul').height(), 362 );
|
||||
equals( $('#navigation > li:eq(0) > ul').height(), 446 );
|
||||
equals( $('#navigation > li:eq(1) > ul').height(), 446 );
|
||||
equals( $('#navigation > li:eq(2) > ul').height(), 446 );
|
||||
});
|
||||
|
||||
test("{ header: '> li > :first-child,> :not(li):even' }, default", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user