aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-12-03 12:50:25 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-12-03 17:03:01 +0100
commit4992fc902eae207737be33e5b937980b4765bbf7 (patch)
tree6283f17c4f473d56bb484b320eaa91aa665d38ea /tests/visual
parent25f16855bab2d4819d50e254d040d318036ad6f1 (diff)
downloadjquery-ui-4992fc902eae207737be33e5b937980b4765bbf7.tar.gz
jquery-ui-4992fc902eae207737be33e5b937980b4765bbf7.zip
Menu: Add ui-front on submenus to address opacity messing up stacking order. Fixes #9650 - Menu: Disabled item visible through submenu on top
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/menu/menu.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/visual/menu/menu.html b/tests/visual/menu/menu.html
index 1c203ef12..4e322130a 100644
--- a/tests/visual/menu/menu.html
+++ b/tests/visual/menu/menu.html
@@ -15,7 +15,15 @@
$( "<p>" ).text( "Selected: " + ui.item.text() ).appendTo( "#log" );
}
- $( "#menu1, #menu2, #menu3, .menu4" ).menu({
+ $( "#menu1, #menu3, .menu4" ).menu({
+ select: logger
+ });
+
+ $( "#menu2" ).menu({
+ position: {
+ my: "left top",
+ at: "left+10 top-20"
+ },
select: logger
});
@@ -39,6 +47,7 @@
<style>
body { font-size:62.5%; }
.ui-menu { width: 200px; margin-bottom: 2em; }
+ .menu2-container { width: 220px; }
.menu4 { height: 200px; overflow-y: auto; overflow-x: hidden; }
.address-item { border-bottom: 1px solid #999; }
.address-header { display: block; margin-bottom: .2em; font-weight: bold; }
@@ -88,7 +97,7 @@
<li>Salzburg</li>
</ul>
</li>
- <li>Perch</li>
+ <li class="ui-state-disabled">Perch</li>
</ul>
</li>
<li class="ui-state-disabled">Amesville</li>