diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-12-19 16:26:03 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-12-19 16:26:03 -0500 |
commit | f908281bc3aecc187f5f13abf8c2144d6a45fa82 (patch) | |
tree | fc99d684e5be130bfd9bdf2f70082fc27ee75104 /tests | |
parent | 32945202da1854a1b603db4994a263f4f789d398 (diff) | |
download | jquery-ui-f908281bc3aecc187f5f13abf8c2144d6a45fa82.tar.gz jquery-ui-f908281bc3aecc187f5f13abf8c2144d6a45fa82.zip |
Accordion: Added test for heightStyle: fill with absolutely positioned sibling.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/accordion/accordion_options.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js index 2544ec67d..26bcb19e5 100644 --- a/tests/unit/accordion/accordion_options.js +++ b/tests/unit/accordion/accordion_options.js @@ -132,8 +132,10 @@ test("{ fillSpace: true } with sibling", function() { test("{ fillSpace: true } with multiple siblings", function() { $("#navigationWrapper").height(500); var sibling = $("<p>Lorem Ipsum</p>"); - $("#navigationWrapper").prepend( sibling.height(100) ); - $("#navigationWrapper").prepend( sibling.clone().height(50) ); + $("#navigationWrapper") + .prepend( sibling.clone().height(100) ) + .prepend( sibling.clone().height(100).css( "position", "absolute" ) ) + .prepend( sibling.clone().height(50) ); //sibling.outerHeight(true) == 126 equalHeights($('#navigation').accordion({ fillSpace: true}), 244, 256); }); |