aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorkborchers <kris.borchers@gmail.com>2012-07-10 00:12:39 -0500
committerkborchers <kris.borchers@gmail.com>2012-07-10 00:14:54 -0500
commitdb3fabedb46011224a5a2a1dd300cb954dd61b8d (patch)
treee2aadbe322ba95298d1084be8d1f843c07b1bfaa /tests
parent1a22a675d89b421556bf02ee1565587c6ec5a13d (diff)
downloadjquery-ui-db3fabedb46011224a5a2a1dd300cb954dd61b8d.tar.gz
jquery-ui-db3fabedb46011224a5a2a1dd300cb954dd61b8d.zip
Menu: Expose the submenu indicator icon as an icon option
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/menu/menu_common.js1
-rw-r--r--tests/visual/menu/menu.html5
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/menu/menu_common.js b/tests/unit/menu/menu_common.js
index 07295f1af..02e0befe8 100644
--- a/tests/unit/menu/menu_common.js
+++ b/tests/unit/menu/menu_common.js
@@ -7,6 +7,7 @@ TestHelpers.commonWidgetTests( "menu", {
at: "right top"
},
role: "menu",
+ icon: "ui-icon-carat-1-e",
// callbacks
blur: null,
diff --git a/tests/visual/menu/menu.html b/tests/visual/menu/menu.html
index 5bda32eae..205cb10c9 100644
--- a/tests/visual/menu/menu.html
+++ b/tests/visual/menu/menu.html
@@ -26,7 +26,8 @@
$( "#menu6" ).menu({
menus: ".menuElement",
- select: logger
+ select: logger,
+ icon: "ui-icon-carat-1-s"
});
});
</script>
@@ -212,7 +213,7 @@
</blockquote>
</div>
-<h2>Menu with custom markup, multi-line items</h2>
+<h2>Menu with custom markup, multi-line items and a custom submenu icon</h2>
<div class="menuElement" id="menu6">
<div class="address-item">
<a href="#">