Skip to content
Permalink
Browse files

Tooltip: Lowercase test html for IE7/8 compat

  • Loading branch information...
jzaefferer committed Jan 6, 2014
1 parent af85dfc commit 5cf4456aafe7dbfb808d847d77eab88d968f03f0
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/tooltip/tooltip_options.js
@@ -49,7 +49,7 @@ test( "content: return jQuery", function() {
}).tooltip( "open" ),
liveRegion = element.tooltip( "instance" ).liveRegion;
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" );
});

0 comments on commit 5cf4456

Please sign in to comment.
You can’t perform that action at this time.