Fixed bug 15761: tslib_menu misses test of html5