mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: Handle overly-precise values in tests in IE
Closes gh-1628
(cherry picked from commit 81a002991e
)
This commit is contained in:
parent
11ebb6946d
commit
d156f02aa8
@ -40,7 +40,10 @@ TestHelpers.tabs = {
|
||||
|
||||
equalHeight: function( tabs, height ) {
|
||||
tabs.find( ".ui-tabs-panel" ).each(function() {
|
||||
equal( $( this ).outerHeight(), height );
|
||||
|
||||
// Handle overly-precise values
|
||||
var actualHeight = parseFloat( $( this ).outerHeight().toFixed( 1 ) );
|
||||
equal( actualHeight, height );
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user