Tooltip: Lowercase test html for IE7/8 compat

This commit is contained in:
Jörn Zaefferer 2014-01-06 16:33:33 +01:00
parent af85dfcafb
commit 5cf4456aaf

View File

@ -49,7 +49,7 @@ test( "content: return jQuery", function() {
}).tooltip( "open" ), }).tooltip( "open" ),
liveRegion = element.tooltip( "instance" ).liveRegion; liveRegion = element.tooltip( "instance" ).liveRegion;
deepEqual( $( "#" + element.data( "ui-tooltip-id" ) ).text(), "customstring" ); deepEqual( $( "#" + element.data( "ui-tooltip-id" ) ).text(), "customstring" );
equal( liveRegion.children().last().html(), "<div>cu<b>s</b>tomstring</div>", equal( liveRegion.children().last().html().toLowerCase(), "<div>cu<b>s</b>tomstring</div>",
"The accessibility live region will strip the ids but keep the structure" ); "The accessibility live region will strip the ids but keep the structure" );
}); });