2 * mobile page unit tests
5 var libName = 'jquery.mobile.page.js';
9 test( "nested header anchors aren't altered", function(){
10 ok(!$('.ui-header > div > a').hasClass('ui-btn'));
13 test( "nested footer anchors aren't altered", function(){
14 ok(!$('.ui-footer > div > a').hasClass('ui-btn'));
17 test( "nested bar anchors aren't styled", function(){
18 ok(!$('.ui-bar > div > a').hasClass('ui-btn'));
21 test( "unnested footer anchors are styled", function(){
22 ok($('.ui-footer > a').hasClass('ui-btn'));
25 test( "unnested footer anchors are styled", function(){
26 ok($('.ui-footer > a').hasClass('ui-btn'));
29 test( "unnested bar anchors are styled", function(){
30 ok($('.ui-bar > a').hasClass('ui-btn'));
33 test( "no auto-generated back button exists on first page", function(){
34 ok( !$(".ui-header > :jqmData(rel='back')").length );