mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 14:05:00 -05:00
CSS: Fix get upper case alpha opacity in IE8
Fixes gh-1705 Closes gh-1704
This commit is contained in:
committed by
Michał Gołębiowski
parent
3f9fda8fab
commit
c5e8e12cef
@@ -1151,4 +1151,17 @@ test( "Do not throw on frame elements from css method (#15098)", 1, function() {
|
||||
ok( false, "It did throw" );
|
||||
}
|
||||
});
|
||||
|
||||
test( "get upper case alpha opacity in IE8", 1, function() {
|
||||
var div = document.createElement( "div" ),
|
||||
fixture = document.getElementById( "qunit-fixture" );
|
||||
|
||||
div.className = "fix-get-alpha-opacity-in-ie8";
|
||||
fixture.appendChild( div );
|
||||
|
||||
equal( jQuery( div ).css( "opacity" ), "0.5", "get upper case alpha opacity in IE8 ok" );
|
||||
|
||||
fixture.removeChild( div );
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user