]> source.dussan.org Git - jquery.git/commitdiff
IE 9 preserves the case of the Alpha filter - maintain it in the test as well.
authorjeresig <jeresig@gmail.com>
Wed, 13 Oct 2010 04:10:32 +0000 (00:10 -0400)
committerjeresig <jeresig@gmail.com>
Wed, 13 Oct 2010 04:10:32 +0000 (00:10 -0400)
test/unit/css.js

index 632464bcd44b4f483f6226bc2d0c3c1e7e3075e0..ff17149d275b66dfcf5eb485961b3e7001d056d5 100644 (file)
@@ -145,7 +145,7 @@ if(jQuery.browser.msie) {
        equals( jQuery('#foo').css('opacity'), '1', "Assert opacity is 1 when a different filter is set in IE, #1438" );
 
     var filterVal = "progid:DXImageTransform.Microsoft.Alpha(opacity=30) progid:DXImageTransform.Microsoft.Blur(pixelradius=5)";
-    var filterVal2 = "progid:DXImageTransform.Microsoft.alpha(opacity=100) progid:DXImageTransform.Microsoft.Blur(pixelradius=5)";
+    var filterVal2 = "progid:DXImageTransform.Microsoft.Alpha(opacity=100) progid:DXImageTransform.Microsoft.Blur(pixelradius=5)";
     var filterVal3 = "progid:DXImageTransform.Microsoft.Blur(pixelradius=5)";
     jQuery('#foo').css("filter", filterVal);
     equals( jQuery('#foo').css("filter"), filterVal, "css('filter', val) works" );
@@ -300,4 +300,4 @@ test(":visible selector works properly on children with a hidden parent (bug #45
        expect(1);
        jQuery('#table').css('display', 'none').html('<tr><td>cell</td><td>cell</td></tr>');
        equals(jQuery('#table td:visible').length, 0, "hidden cell children not perceived as visible");
-});
\ No newline at end of file
+});