diff options
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index 30ce95fc9..be8597a62 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -782,6 +782,13 @@ test("certain css values of 'normal' should be convertable to a number, see #862 ok( jQuery.isNumeric( parseFloat( el.css("fontWeight") ) ), "css('fontWeight') not convertable to number, see #8627" ); }); +// only run this test in IE9 +if ( document.documentMode === 9 ) { + test( ".css('filter') returns a string in IE9, see #12537", 1, function() { + equal( jQuery("<div style='-ms-filter:\"progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFF, endColorstr=#ECECEC)\";'></div>").css("filter"), "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFF, endColorstr=#ECECEC)", "IE9 returns the correct value from css('filter')." ); + }); +} + test( "cssHooks - expand", function() { expect( 15 ); var result, |