Skip to content
Permalink
Browse files

Adds missing expect() call, fixes failing IE tests

  • Loading branch information...
rwaldron committed Oct 15, 2012
1 parent b36d58d commit 8a4dc3657e7da482a12b51cba2c6806cc36d9919
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/unit/css.js
@@ -259,6 +259,7 @@ test("css(String, Object)", function() {

if ( !jQuery.support.opacity ) {
test("css(String, Object) for MSIE", function() {
expect( 5 );
// for #1438, IE throws JS error when filter exists but doesn't have opacity in it
jQuery("#foo").css("filter", "progid:DXImageTransform.Microsoft.Chroma(color='red');");
equal( jQuery("#foo").css("opacity"), "1", "Assert opacity is 1 when a different filter is set in IE, #1438" );

0 comments on commit 8a4dc36

Please sign in to comment.
You can’t perform that action at this time.