diff options
author | Felix Nagel <info@felixnagel.com> | 2012-05-14 11:52:47 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-05-14 11:52:47 +0200 |
commit | c6a8d7ee3c9803d9944db6f55778810592a36452 (patch) | |
tree | abb3df79a0eb6d9bb4713ab73da8ddc60d8a7674 /tests/unit/resizable/resizable_options.js | |
parent | 41dfb09aeb5df7d53089b58959d21207de63edbe (diff) | |
parent | d393c8b4cb26ec34878c22202da6ba9393e0094d (diff) | |
download | jquery-ui-c6a8d7ee3c9803d9944db6f55778810592a36452.tar.gz jquery-ui-c6a8d7ee3c9803d9944db6f55778810592a36452.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'tests/unit/resizable/resizable_options.js')
-rw-r--r-- | tests/unit/resizable/resizable_options.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/resizable/resizable_options.js b/tests/unit/resizable/resizable_options.js index 76cca560a..e10a55a31 100644 --- a/tests/unit/resizable/resizable_options.js +++ b/tests/unit/resizable/resizable_options.js @@ -187,4 +187,13 @@ test("ui-resizable-nw { handles: 'all', minWidth: 60, minHeight: 60, maxWidth: 1 equal( target.height(), 100, "compare maxHeight" ); }); +test("zIndex, applied to all handles", function() { + expect(8); + + var target = $('<div></div>').resizable({ handles: 'all', zIndex: 100 }); + target.children( '.ui-resizable-handle' ).each( function( index, handle ) { + equal( $( handle ).css( 'zIndex' ), 100, 'compare zIndex' ); + }); +}); + })(jQuery); |