mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip: Lowercase test html for IE7/8 compat
This commit is contained in:
parent
af85dfcafb
commit
5cf4456aaf
@ -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" );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user