diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-19 11:22:32 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-19 11:22:32 -0400 |
commit | a090faa833cf5b40105bb4aa74bca7ac39366fe9 (patch) | |
tree | 7eb6b03d894f77f9fc2bf82c04c04a5e0e0a49bf | |
parent | 44d1a38a1925c2fa0eceaa4536da4c0968d310cc (diff) | |
download | jquery-ui-a090faa833cf5b40105bb4aa74bca7ac39366fe9.tar.gz jquery-ui-a090faa833cf5b40105bb4aa74bca7ac39366fe9.zip |
Menu: float .ui-menu since all .ui-menu-item elements are floated. Fixes #5691 - wrong menu size calculation in webkit browsers (Autocomplete).
-rw-r--r-- | tests/visual/menu/drilldown.html | 2 | ||||
-rw-r--r-- | tests/visual/menu/menu.html | 2 | ||||
-rw-r--r-- | themes/base/jquery.ui.autocomplete.css | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/tests/visual/menu/drilldown.html b/tests/visual/menu/drilldown.html index 1539045f0..d9c658209 100644 --- a/tests/visual/menu/drilldown.html +++ b/tests/visual/menu/drilldown.html @@ -250,7 +250,7 @@ <a href="#">Go back</a> </div> -<div class="ui-widget" style="margin-top:2em; font-family:Arial"> +<div class="ui-widget" style="clear: left; margin-top:2em; font-family:Arial"> Log: <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div> </div> diff --git a/tests/visual/menu/menu.html b/tests/visual/menu/menu.html index 93c33d4e2..d845acbe9 100644 --- a/tests/visual/menu/menu.html +++ b/tests/visual/menu/menu.html @@ -109,7 +109,7 @@ <li><a href="#">Amesville</a></li> </ul> -<div class="ui-widget" style="margin-top:2em; font-family:Arial"> +<div class="ui-widget" style="clear: left; margin-top:2em; font-family:Arial"> Log: <div id="log" style="height: 400px; width: 300px; overflow: auto;" class="ui-widget-content"></div> </div> diff --git a/themes/base/jquery.ui.autocomplete.css b/themes/base/jquery.ui.autocomplete.css index 082041558..ea370d63e 100644 --- a/themes/base/jquery.ui.autocomplete.css +++ b/themes/base/jquery.ui.autocomplete.css @@ -26,6 +26,7 @@ padding: 2px; margin: 0; display:block; + float: left; } .ui-menu .ui-menu { margin-top: -3px; |