From faf87d992455280182edef015c8733313744a739 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 20 Oct 2014 19:29:35 -0400 Subject: Core: Remove .zIndex() Fixes #9156 --- tests/unit/all.html | 1 - tests/unit/core/core_deprecated.html | 132 ----------------------------------- tests/unit/core/core_deprecated.js | 24 ------- 3 files changed, 157 deletions(-) delete mode 100644 tests/unit/core/core_deprecated.html delete mode 100644 tests/unit/core/core_deprecated.js (limited to 'tests') diff --git a/tests/unit/all.html b/tests/unit/all.html index 77daff6d5..043304f76 100644 --- a/tests/unit/all.html +++ b/tests/unit/all.html @@ -20,7 +20,6 @@ "autocomplete/autocomplete.html", "button/button.html", "core/core.html", - "core/core_deprecated.html", "datepicker/datepicker.html", "dialog/dialog.html", "draggable/draggable.html", diff --git a/tests/unit/core/core_deprecated.html b/tests/unit/core/core_deprecated.html deleted file mode 100644 index be865f77e..000000000 --- a/tests/unit/core/core_deprecated.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - jQuery UI Core Test Suite - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - - -
-
- -
- - - - - - - - - - xxx - anchor - anchor - x -
x
- x -
x
-
- -
- - - - - - - - - -
- -
- - - - - - - - - -
- -
- - - - - - . - . - . - . -
- -
- - -
- -
-
.
-
-
-
.
-
-
-
.
-
-
- -
- -
- - diff --git a/tests/unit/core/core_deprecated.js b/tests/unit/core/core_deprecated.js deleted file mode 100644 index bb06f77b2..000000000 --- a/tests/unit/core/core_deprecated.js +++ /dev/null @@ -1,24 +0,0 @@ -(function( $ ) { - -module( "core - deprecated" ); - -test( "zIndex", function() { - expect( 7 ); - var el = $( "#zIndexAutoWithParent" ), - parent = el.parent(); - equal( el.zIndex(), 100, "zIndex traverses up to find value" ); - equal( parent.zIndex(200 ), parent, "zIndex setter is chainable" ); - equal( el.zIndex(), 200, "zIndex setter changed zIndex" ); - - el = $( "#zIndexAutoWithParentViaCSS" ); - equal( el.zIndex(), 0, "zIndex traverses up to find CSS value, not found because not positioned" ); - - el = $( "#zIndexAutoWithParentViaCSSPositioned" ); - equal( el.zIndex(), 100, "zIndex traverses up to find CSS value" ); - el.parent().zIndex( 200 ); - equal( el.zIndex(), 200, "zIndex setter changed zIndex, overriding CSS" ); - - equal( $( "#zIndexAutoNoParent" ).zIndex(), 0, "zIndex never explicitly set in hierarchy" ); -}); - -})( jQuery ); -- cgit v1.2.3