Menu: Style updates

Ref #14246
Ref gh-1588
This commit is contained in:
Alexander Schmitz 2015-08-21 00:08:28 -04:00
parent 20fae727d9
commit 3b99bf4cc8
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ common.testWidget( "menu", {
}, },
role: "menu", role: "menu",
// callbacks // Callbacks
blur: null, blur: null,
create: null, create: null,
focus: null, focus: null,

View File

@ -333,7 +333,7 @@ asyncTest( "handle keyboard navigation on menu without scroll and with submenus"
element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } ); element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } );
equal( logOutput(), "keydown,4", "Keydown LEFT (close submenu)" ); equal( logOutput(), "keydown,4", "Keydown LEFT (close submenu)" );
// re-open submenu // Re-open submenu
element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } ); element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } );
setTimeout( menukeyboard3 ); setTimeout( menukeyboard3 );
} }
@ -525,7 +525,7 @@ asyncTest( "handle keyboard navigation on menu with scroll and with submenus", f
element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } ); element.simulate( "keydown", { keyCode: $.ui.keyCode.LEFT } );
equal( logOutput(), "keydown,1", "Keydown LEFT (close submenu)" ); equal( logOutput(), "keydown,1", "Keydown LEFT (close submenu)" );
// re-open submenu // Re-open submenu
element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } ); element.simulate( "keydown", { keyCode: $.ui.keyCode.RIGHT } );
setTimeout( menukeyboard3, 50 ); setTimeout( menukeyboard3, 50 );
} }

View File

@ -52,7 +52,7 @@ return $.widget( "ui.menu", {
}, },
role: "menu", role: "menu",
// callbacks // Callbacks
blur: null, blur: null,
focus: null, focus: null,
select: null select: null