diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-19 20:58:08 -0400 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-21 12:49:32 -0400 |
commit | 77a55f1291861b87d30011ac5fd948f6b38d2c60 (patch) | |
tree | 957e013f3156cdf2059a313512c0a71785682872 /tests/visual/tooltip | |
parent | 9d5f91ece2129801b4981b5befb588e8f215efd1 (diff) | |
download | jquery-ui-77a55f1291861b87d30011ac5fd948f6b38d2c60.tar.gz jquery-ui-77a55f1291861b87d30011ac5fd948f6b38d2c60.zip |
Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements
Diffstat (limited to 'tests/visual/tooltip')
-rw-r--r-- | tests/visual/tooltip/tooltip.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html index 56e5db10e..8f9b2e8df 100644 --- a/tests/visual/tooltip/tooltip.html +++ b/tests/visual/tooltip/tooltip.html @@ -140,10 +140,14 @@ <div class="group" style="width: 300px;"> <p>Nested elements.</p> <div id="context2"> - <div title="something else" style="border:1px solid red;"> + <div title="nested parent" style="border:1px solid red;"> tooltipped - <span title="something more" style="border:1px solid green; padding-left: 50px;">nested tooltipped</span> + <span title="nested child" style="border:1px solid green; padding-left: 25px;"> + nested tooltipped + <span title="nested nested child" style="border:1px solid blue; padding-left: 25px;">third level</span> + </span> </div> + <input title="nested input title"> </div> <div id="childish" style="border: 1px solid black;" title="element with child elements"> Text in <strong>bold</strong>. |