]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Lowercase test html for IE7/8 compat
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 6 Jan 2014 15:33:33 +0000 (16:33 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 6 Jan 2014 15:33:33 +0000 (16:33 +0100)
tests/unit/tooltip/tooltip_options.js

index bced8e8608cf8ea9cc0468532aaeae22a7cab886..17f0a423775b3a31631e3425aca6a5242fc33117 100644 (file)
@@ -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" );
 });