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/unit/menu/menu.html | 397 ++++++++++++++++++----------------- tests/unit/menu/menu_common.js | 2 +- tests/unit/menu/menu_core.js | 7 +- tests/unit/menu/menu_events.js | 24 +-- tests/unit/menu/menu_methods.js | 5 +- tests/unit/menu/menu_options.js | 18 +- tests/unit/menu/menu_test_helpers.js | 4 +- 7 files changed, 244 insertions(+), 213 deletions(-) (limited to 'tests/unit/menu') diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html index cb3df5b00..56115c334 100644 --- a/tests/unit/menu/menu.html +++ b/tests/unit/menu/menu.html @@ -33,7 +33,7 @@ font-size: 15px; line-height: 15px; } - .ui-menu .ui-menu-item { + .ui-menu .ui-menu-item-wrapper { padding: 0; } #menu3 { @@ -52,263 +52,284 @@