From de2ef2a585447cf75fc8d4a734c12aa2bbd028c2 Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Sat, 25 Oct 2014 09:18:17 -0700 Subject: Menu: Wrap menu items in a
This avoids styling issues where ui-state-focus rules apply to submenus. Fixes #10162 Closes gh-1342 --- tests/visual/menu/menu.html | 357 +++++++++++++++++++++++++------------------- 1 file changed, 202 insertions(+), 155 deletions(-) (limited to 'tests/visual') diff --git a/tests/visual/menu/menu.html b/tests/visual/menu/menu.html index 11e9df6e1..855748d3d 100644 --- a/tests/visual/menu/menu.html +++ b/tests/visual/menu/menu.html @@ -28,7 +28,7 @@ }); $( "#menu5" ).menu({ - menus: "div", + menus: ".menuElement", select: logger }); @@ -56,241 +56,288 @@

Default inline menu

Inline with disabled items and submenus

Menu with icons

Long menu with scroll overflow, to test menu's scroll-on-keypress behaviour

Menu with custom markup

-

Menu with custom markup, multi-line items and a custom submenu icon

Inline with dividers and group labels

-- cgit v1.2.3