aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/menu/nested.html
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-22 21:44:32 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-22 21:44:32 +0100
commite7c2eb42d08c5ee7b444c3c0274758df46202dfb (patch)
treebda4bafc1b14364ec63cb4b233d04a4339bb0a72 /tests/visual/menu/nested.html
parent7e79eee1b08b44ec464cab9cac2988f2526b0d2e (diff)
downloadjquery-ui-e7c2eb42d08c5ee7b444c3c0274758df46202dfb.tar.gz
jquery-ui-e7c2eb42d08c5ee7b444c3c0274758df46202dfb.zip
Remove width:100%; from menu-item styles (was there for icon-support, which was dropped); also fixed the nested-menu visual test to position properly in IE6
Diffstat (limited to 'tests/visual/menu/nested.html')
-rw-r--r--tests/visual/menu/nested.html15
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/visual/menu/nested.html b/tests/visual/menu/nested.html
index a332e2440..96a0379d3 100644
--- a/tests/visual/menu/nested.html
+++ b/tests/visual/menu/nested.html
@@ -106,11 +106,16 @@
$("button").click(function(event) {
// TODO required to prevent the click handler below from handling this event
event.stopPropagation();
- nestedmenu.nestedmenu("show").position({
- my: "left top",
- at: "right top",
- of: event.pageX > 0 ? event : this
- });
+ nestedmenu.nestedmenu("show")
+ .css({
+ top: 0,
+ left: 0
+ })
+ .position({
+ my: "left top",
+ at: "right top",
+ of: this
+ });
$(document).one("click", function() {
nestedmenu.nestedmenu("hide");
})