From 9f56913dcc247b6aad4cea752d744ebf7775f794 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Sat, 15 May 2010 16:37:52 +0200 Subject: [PATCH] Tooltip: Enhanced visual test to include a few more buttons and a high element to get a scrollbar --- tests/visual/tooltip/tooltip.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html index 3f1ae3878..022093bc7 100644 --- a/tests/visual/tooltip/tooltip.html +++ b/tests/visual/tooltip/tooltip.html @@ -55,18 +55,25 @@ tooltipClass: "ui-state-highlight" }); - $("#button1").button().tooltip(); + var positionOnTop = { + position: { + my: "center bottom", + at: "center top", + offset: "0 -5" + } + }; + $("#button1").button().tooltip(positionOnTop); $("#button2").button({ icons: { primary: "ui-icon-wrench" } - }).tooltip(); - $("#button3").button({ + }).tooltip(positionOnTop); + $("#button3, #button4").button({ icons: { primary: "ui-icon-wrench" }, text: false - }).tooltip(); + }).tooltip(positionOnTop); } enable(); @@ -136,7 +143,8 @@ - + +
This is the footnote, including other elements
@@ -144,6 +152,7 @@ +