@@ -1108,23 +1108,6 @@ QUnit.test( "box model properties incorrectly returning % instead of px, see #10
11081108 assert . equal ( el2 . css ( "marginLeft" ) , "100px" , "css('marginLeft') returning incorrect pixel value, see #12088" ) ;
11091109} ) ;
11101110
1111- QUnit . test ( "jQuery.cssProps behavior, (bug #8402)" , function ( assert ) {
1112- assert . expect ( 2 ) ;
1113-
1114- var div = jQuery ( "<div>" ) . appendTo ( document . body ) . css ( {
1115- "position" : "absolute" ,
1116- "top" : 0 ,
1117- "left" : 10
1118- } ) ;
1119- jQuery . cssProps . top = "left" ;
1120- assert . equal ( div . css ( "top" ) , "10px" , "the fixed property is used when accessing the computed style" ) ;
1121- div . css ( "top" , "100px" ) ;
1122- assert . equal ( div [ 0 ] . style . left , "100px" , "the fixed property is used when setting the style" ) ;
1123-
1124- // cleanup jQuery.cssProps
1125- jQuery . cssProps . top = undefined ;
1126- } ) ;
1127-
11281111QUnit . test ( "widows & orphans #8936" , function ( assert ) {
11291112
11301113 var $p = jQuery ( "<p>" ) . appendTo ( "#qunit-fixture" ) ;
@@ -1713,13 +1696,6 @@ QUnit.test( "Do not throw on frame elements from css method (#15098)", function(
17131696( function ( ) {
17141697 var vendorPrefixes = [ "Webkit" , "Moz" , "ms" ] ;
17151698
1716- function resetCssPropsFor ( name ) {
1717- delete jQuery . cssProps [ name ] ;
1718- jQuery . each ( vendorPrefixes , function ( index , prefix ) {
1719- delete jQuery . cssProps [ prefix + name [ 0 ] . toUpperCase ( ) + name . slice ( 1 ) ] ;
1720- } ) ;
1721- }
1722-
17231699 QUnit . test ( "Don't default to a cached previously used wrong prefixed name (gh-2015)" , function ( assert ) {
17241700
17251701 // Note: this test needs a property we know is only supported in a prefixed version
@@ -1753,9 +1729,6 @@ QUnit.test( "Do not throw on frame elements from css method (#15098)", function(
17531729
17541730 assert . expect ( ! ! appearanceName + ! ! transformName + 1 ) ;
17551731
1756- resetCssPropsFor ( "appearance" ) ;
1757- resetCssPropsFor ( "transform" ) ;
1758-
17591732 elem = jQuery ( "<div/>" )
17601733 . css ( {
17611734 msAppearance : "none" ,
0 commit comments