Skip to content

Resizable: correct aspectRatio handling with min/max dimensions - Fixed #4951 #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 60 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
b5e6786
Autocomplete: changed autoFocus default back to false. Reverts #7042 …
rdworth Mar 28, 2011
ec48255
Accordion: Removed empty ticket test file.
scottgonzalez Mar 28, 2011
ec0a9cc
Removed empty ticket test files.
scottgonzalez Mar 28, 2011
6a0cdaa
Merge branch 'master' of github.com:jquery/jquery-ui
rdworth Mar 28, 2011
78b17f9
Widget: Moved tests out of _tickets into _core.
scottgonzalez Mar 28, 2011
3206386
Slider: Removed empty tickets test file.
scottgonzalez Mar 28, 2011
41fb07d
Selectable: Removed empty tickets test file.
scottgonzalez Mar 28, 2011
c7c8a80
Resizable: Removed empty tickets test file.
scottgonzalez Mar 28, 2011
3a5fe07
Progressbar: Removed empty tickets test file.
scottgonzalez Mar 28, 2011
43ac057
Droppable: Removed empty tickets test file.
scottgonzalez Mar 28, 2011
d236c0d
Draggable: Removed empty tickets test file.
scottgonzalez Mar 28, 2011
2197c61
Slider: Properly handle value and value methods as setters. Fixes #48…
scottgonzalez Mar 28, 2011
cd29170
Core: Fixed spacing.
scottgonzalez Mar 29, 2011
fa13c4a
Merge branch 'tabs_1.9' of https://github.com/petersendidit/jquery-ui…
scottgonzalez Mar 29, 2011
6c6a64c
Dialog: Removed unnecessary visual test files.
scottgonzalez Mar 29, 2011
91c2f3e
Visual tests: Removed index page. A directory listing of all files is…
scottgonzalez Mar 29, 2011
255a8db
Tests: Allow overriding enable and disable methods to add custom logic.
scottgonzalez Mar 30, 2011
98c53d8
Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker sh…
scottgonzalez Apr 4, 2011
401c914
Autocomplete (combobox demo): Blur the button on click to avoid a bug.
scottgonzalez Apr 4, 2011
275897e
Accordion tests: lowercase doctype.
scottgonzalez Apr 4, 2011
fd1fd61
Tests: Renamed files for deprecated tests now that TestSwarm is setup…
scottgonzalez Apr 4, 2011
fdedf16
Tabs: Test cleanup.
scottgonzalez Apr 4, 2011
632e6c7
Tabs: Pass appropriate data for beforeActivate event. Fixes #7136 - T…
scottgonzalez Apr 4, 2011
af04a89
Accordion tests: Only use single words inside headers to avoid breaki…
scottgonzalez Apr 4, 2011
01b92ff
Accordion tests: Only use single words inside headers to avoid breaki…
scottgonzalez Apr 4, 2011
80b6de1
Accordion: Pass original event in beforeActivate event.
scottgonzalez Apr 4, 2011
9a1d889
Accordion: Removed unnecessary test.
scottgonzalez Apr 4, 2011
fc52912
Accordion: When simulating events, make sure we use DOM elements, not…
scottgonzalez Apr 4, 2011
e19d826
Tabs: Properly handle switching from active: false.
scottgonzalez Apr 4, 2011
316d0af
Accordion: Added test to ensure activate event is not triggered if be…
scottgonzalez Apr 4, 2011
1fc91f9
Tabs: Pass appropriate data for activate event. Fixes #7137 - Tabs: R…
scottgonzalez Apr 4, 2011
995518c
Tabs: cleanup.
scottgonzalez Apr 4, 2011
ff84d58
Tabs: Pass appropriate data for beforeLoad event. Partial fix for #71…
scottgonzalez Apr 5, 2011
7aad37b
Tabs: Better handling of active option and various cleanup.
scottgonzalez Apr 5, 2011
168ab66
Tabs: Updated test for deprecated length method.
scottgonzalez Apr 6, 2011
bc6a28e
Tabs: Cleaned up _tabId() implementation.
scottgonzalez Apr 6, 2011
54016b8
Sortable: Reverted 56b0da59d71396a740cf48a75902243d561ba186 as #4551 …
rdworth Apr 7, 2011
d573a92
Tabs: Added tests for aria-controls attribute being assigned on init.
scottgonzalez Apr 7, 2011
9d9e1ce
Adding popup utility prototype to visual menu tests
jzaefferer Apr 8, 2011
3b77ac6
Progressbar: hide valueDiv when value is 0. Fixes #7231 - valueDiv sh…
kflorence Apr 8, 2011
7272f3b
Progressbar: Added unit test for #7231 - valueDiv should be hidden wh…
rdworth Apr 9, 2011
64f13b6
Resizable: Added a non-visible yet non-transparent (apparently) no-re…
rdworth Apr 9, 2011
08b6a2b
Resizable: use background-image:url(data:) instead of background-imag…
rdworth Apr 10, 2011
ccac8cd
Tabs: Updated references to .ui-tabs-selected to use .ui-tabs-active.
scottgonzalez Apr 11, 2011
a337006
Tabs: Update ajax demo to use beforeLoad event instead of deprecated …
scottgonzalez Apr 11, 2011
bc65675
Tabs: Fixed issues with collapsible and active options.
scottgonzalez Apr 11, 2011
67d49f5
Overhaul tooltip implementation. Avoid queuing and other problems by
jzaefferer Apr 13, 2011
00559b3
Update popup utility: Defer _open call and let click event propagate.
jzaefferer Apr 13, 2011
3af0923
Datepicker: Fixed dateFormat for nl locale. Fixes #7250 - Datepicker:…
scottgonzalez Apr 15, 2011
59c787f
Datepicker: Fixed Slovak locale. Fixes #7254 - Datepicker: Incorrect …
Lopo Apr 12, 2011
d3e10de
Tabs: Better tests for tab state.
scottgonzalez Apr 15, 2011
ae8963f
Tabs: Rewrote some ticket tests and moved to approriate file.
scottgonzalez Apr 15, 2011
4547da1
Accordion tests: Coding standards.
scottgonzalez Apr 15, 2011
5076f23
Close popup when blurred and make sure that shift-tab when popup is open
jzaefferer Apr 18, 2011
f0d5a00
Menu: Make keyboard focus matching take submenus into account
jzaefferer Apr 20, 2011
34e3a24
Menu: Add icons support
jzaefferer Apr 20, 2011
7f4619a
Menu: Drop statis test pages. default was outdated, icons is replaced…
jzaefferer Apr 20, 2011
5a5ce51
Removed duplicate selector reference
Apr 21, 2011
4955699
Set menu item link top padding to px (in place of em); this fixes the…
Apr 21, 2011
e7e00cc
Check if we are too far left / down as well as right / bottom - Fix #…
Apr 23, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions demos/autocomplete/combobox.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
return;
}

// work around a bug (likely same cause as #5265)
$( this ).blur();

// pass empty string as value to search for, displaying all results
input.autocomplete( "search", "" );
input.focus();
Expand Down
8 changes: 4 additions & 4 deletions demos/demos.css
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@ div.demo-description {
#widget-docs .ui-tabs-nav li a:hover,
#widget-docs .ui-tabs-nav li a:active { font-size:14px; padding:4px 1.2em 3px; color:#fff; }

#widget-docs .ui-tabs-nav li.ui-tabs-selected a:link,
#widget-docs .ui-tabs-nav li.ui-tabs-selected a:visited,
#widget-docs .ui-tabs-nav li.ui-tabs-selected a:hover,
#widget-docs .ui-tabs-nav li.ui-tabs-selected a:active { color:#e6820E; }
#widget-docs .ui-tabs-nav li.ui-tabs-active a:link,
#widget-docs .ui-tabs-nav li.ui-tabs-active a:visited,
#widget-docs .ui-tabs-nav li.ui-tabs-active a:hover,
#widget-docs .ui-tabs-nav li.ui-tabs-active a:active { color:#e6820E; }

#widget-docs .ui-tabs-panel { padding:20px 9px; font-size:12px; line-height:1.4; color:#000; }

Expand Down
9 changes: 4 additions & 5 deletions demos/tabs/ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
<script>
$(function() {
$( "#tabs" ).tabs({
ajaxOptions: {
error: function( xhr, status, index, anchor ) {
var selector = $( anchor ).attr( "aria-controls" );
$( selector ).html(
beforeLoad: function( event, ui ) {
ui.jqXHR.error(function() {
ui.panel.html(
"Couldn't load this tab. We'll try to fix this as soon as possible. " +
"If this wouldn't be a demo." );
}
});
}
});
});
Expand Down
1 change: 0 additions & 1 deletion demos/tabs/bottom.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
.tabs-bottom .ui-tabs-panel { height: 140px; overflow: auto; }
.tabs-bottom .ui-tabs-nav { position: absolute !important; left: 0; bottom: 0; right:0; padding: 0 0.2em 0.2em 0; }
.tabs-bottom .ui-tabs-nav li { margin-top: -2px !important; margin-bottom: 1px !important; border-top: none; border-bottom-width: 1px; }
.ui-tabs-selected { margin-top: -3px !important; }
</style>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demos/tabs/vertical.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 12em; }
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right; width: 40em;}
</style>
</head>
Expand Down
7 changes: 5 additions & 2 deletions demos/tooltip/custom-animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
// TODO overhaul this with custom animation API
$(".demo").tooltip({
open: function() {
$(this).tooltip("widget").stop(false, true).hide().slideDown();
$(".ui-tooltip").stop(false, true).hide().slideDown();
},
close: function() {
$(this).tooltip("widget").stop(false, true).show().slideUp();
$(".ui-tooltip").stop(false, false).show().slideUp(function() {
$(this).remove();
});
}
});
});
Expand Down
1 change: 1 addition & 0 deletions demos/tooltip/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ <h4>Examples</h4>
<li><a href="tracking.html">Track the mouse</a></li>
<li><a href="custom-animation.html">Custom animation</a></li>
<li><a href="delegation-mixbag.html">Delegation Mixbag</a></li>
<li><a href="lots.html">Lots</a></li>
</ul>
</div>

Expand Down
13 changes: 6 additions & 7 deletions demos/tooltip/tracking.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,19 @@
$(function() {
$(".demo").tooltip({
open: function() {
var tooltip = $(this).tooltip("widget");
$(document).mousemove(function(event) {
tooltip.position({
my: "left center",
at: "right center",
offset: "25 25",
var tooltip = $( ".ui-tooltip" );
$(document).mousemove(function( event ) {
tooltip.position( {
my: "left+25 center",
at: "right+25 center",
of: event
});
})
// trigger once to override element-relative positioning
.mousemove();
},
close: function() {
$(document).unbind("mousemove");
$(document).unbind( "mousemove" );
}
});
});
Expand Down
172 changes: 0 additions & 172 deletions tests/static/menu/all-menus-icons.html

This file was deleted.

39 changes: 0 additions & 39 deletions tests/static/menu/default.html

This file was deleted.

9 changes: 4 additions & 5 deletions tests/unit/accordion/accordion.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
Expand All @@ -20,7 +20,7 @@
<script src="../testsuite.js"></script>

<script>
function state( accordion ) {
function accordion_state( accordion ) {
var expected = $.makeArray( arguments ).slice( 1 );
var actual = accordion.find( ".ui-accordion-content" ).map(function() {
return $( this ).css( "display" ) === "none" ? 0 : 1;
Expand Down Expand Up @@ -54,7 +54,6 @@
<script src="accordion_events.js"></script>
<script src="accordion_methods.js"></script>
<script src="accordion_options.js"></script>
<script src="accordion_tickets.js"></script>

<script src="../swarminject.js"></script>
<style>
Expand Down Expand Up @@ -130,8 +129,8 @@ <h2><a href="?p=1.1.2"><span>Bass</span></a></h2>
<li>
<h2><a href="?p=1.1.3">Drums</a></h2>
<ul>
<li><a href="?p=1.1.3.2">Acoustic Drums</a></li>
<li><a href="?p=1.1.3.3">Electronic Drums</a></li>
<li><a href="?p=1.1.3.2">Acoustic</a></li>
<li><a href="?p=1.1.3.3">Electronic</a></li>
<li><a href="?p=1.1.3.6">Accessories</a></li>
</ul>
</li>
Expand Down
Loading