aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTJ VanToll <tj.vantoll@gmail.com>2012-01-09 21:42:56 -0500
committerScott González <scott.gonzalez@gmail.com>2012-04-19 20:55:02 -0400
commit6150abae49f77a3b2f67c39a3c60a06792b4de8f (patch)
tree8c70f73c4bc01ed73f54ffbb365672152663ee2f /tests
parentd783766f9053a2075c579296d819f0941796ac1c (diff)
downloadjquery-ui-6150abae49f77a3b2f67c39a3c60a06792b4de8f.tar.gz
jquery-ui-6150abae49f77a3b2f67c39a3c60a06792b4de8f.zip
Resizable: Apply zIndex option to all handles. Partial Fix for #7960- Modal dialog does not disable resizables on the page.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/resizable/resizable_options.js9
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..275639ca1 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 ) {
+ equals( $( handle ).css( 'zIndex' ), 100, 'compare zIndex' );
+ });
+});
+
})(jQuery);