Skip to content
Permalink
Browse files

Accordion unit tests: Further normalization of styles to get consiste…

…nt results across browsers
  • Loading branch information
jzaefferer committed Mar 27, 2010
1 parent 8d57aa1 commit b012de18a47607119fc47a49b22ff2376efa8972
Showing with 4 additions and 5 deletions.
  1. +1 −2 tests/unit/accordion/accordion.html
  2. +3 −3 tests/unit/accordion/accordion_options.js
@@ -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() {

0 comments on commit b012de1

Please sign in to comment.
You can’t perform that action at this time.