Commit Graph

6504 Commits

Author SHA1 Message Date
Mike Sherov
48ea2aadad Draggable: Ensure overflow:visible containments are correctly measured
Fixes #7016
2014-08-17 14:38:05 -04:00
Mike Sherov
d10440fe44 Draggable: Only focus the draggable if the event occurs on a handle
Refs #10527
2014-08-17 14:13:20 -04:00
TJ VanToll
075421d6d9 Draggable: Only blur the focused element if the event occurs on a handle
Fixes #10527
2014-08-17 14:13:20 -04:00
Mike Sherov
b5846bece3 Draggable: Recalculate hash offset on start after plugins run
Fixes #6884
2014-08-16 21:27:16 -04:00
Mike Sherov
cdcb391f4e Draggable: Fix whitespace in trigger function 2014-08-16 21:22:58 -04:00
Mike Sherov
01e26b0f53 Draggable Tests: Clarify position helper test generation 2014-08-14 21:03:18 -04:00
Mike Sherov
2d03839c07 Draggable: Account for margins when snapping
Fixes #9724
2014-08-14 09:50:02 -04:00
Jörn Zaefferer
54004c85d0 Build: Update jscs and fix some code style issues
Disables the checks for casing and line length, since those need a lot
more effort to address. For variable naming the fix isn't obvious to me.
There's way too many lines over 100 chars.
2014-08-14 14:12:12 +02:00
Mike Sherov
ba5a60efa1 Resizable Tests: fix IE8 test fail due to unspecified border style
IE <9 does not correctly set the height of an element if the borderWidth
is non-zero but no borderStyle is specified.
2014-08-13 23:06:21 -04:00
Mike Sherov
9acb4797fa Draggable Tests: Fix IE8 test when native scroll happens 2014-08-13 22:26:04 -04:00
Andrei Picus
1cfebf803b Sortable: fire "over" and "out" even when a connectWith hasn't changed
Fixes #9335
2014-08-13 20:27:26 -04:00
Mike Sherov
4dad6bb99d Droppable: Account for draggable margins when detecting hover
Fixes #6876
2014-08-13 19:36:07 -04:00
Jörn Zaefferer
98b7a7dd12 Build: Updating the master version to 1.11.2-pre. 2014-08-13 13:40:43 +02:00
Jörn Zaefferer
bf898abe96 Authors: Update 2014-08-13 12:53:11 +02:00
Mike Sherov
bbf9ea0942 Draggable: ignore overflow:hidden containers with scroll option
While it is true that overflow:hidden elements can be scrolled
programatically, this breaks user expectation. Therefore, do not
 scroll inside an overflow:hidden container.
2014-08-12 19:30:09 -04:00
Mike Sherov
be4c0fc324 Draggable: clean up whitespace in scroll option 2014-08-12 19:30:09 -04:00
Mike Sherov
e9efbc2221 Draggable: consider offsets from overflow:hidden parents
Developers can programmatically set scrollTop/Left on
draggable containers that are overflow:hidden. They must
be considered for positioning.

Fixes #10147
2014-08-12 19:30:09 -04:00
Mike Sherov
67e4b44b29 Core: provide "includeHidden" parameter in $.ui.scrollParent
Even though the user is unable to scroll via the UI, authors
may have custom scrollbars that programmatically set scrollTop.
Therefore, overflow:hidden can be considered a scrollParent.
2014-08-12 19:30:09 -04:00
Mike Sherov
2ac0769967 Draggable Tests: Fix several whitespace issues. 2014-08-12 19:30:09 -04:00
Mike Sherov
0ad31ca469 Resizable: fix JSCS violations 2014-08-11 09:51:45 -04:00
Will Holley
87081b855c Droppable: only consider pointer location with tolerance "pointer"
Fixes #4977
Closes gh-991
2014-08-10 21:00:33 -04:00
Mike Sherov
d434fdbcc2 Droppable Tests: fix whitespace in droppable_options 2014-08-10 20:46:27 -04:00
Mike Sherov
454b58ee66 Droppable tests: swap $.ui.intersect test with tolerance test
$.ui.intersect is not a documented API, yet droppable tolerance is,
and are essentially the same.
2014-08-10 20:41:23 -04:00
TJ VanToll
36e4bfd516 Autocomplete: Use $.trim instead of jQuery.trim for consistency
Fixes #10525
2014-08-08 08:47:25 -04:00
Rafael Xavier de Souza
d362fc958b Build: Update DB version for release script 2014-08-07 12:08:55 -03:00
Mike Sherov
df2f7555b4 Draggable Tests: Fix inconsistent operator spacing. 2014-08-06 19:43:13 -04:00
Mike Sherov
05ab5d7818 Draggable: Fix several whitespace issues 2014-08-06 17:51:43 -04:00
Scott González
32bef7ad4e Tooltip: Treat the tooltip as closing until it's fully removed
This ensures that we don't trigger the close event twice if the tooltip is
destroyed during the hide animation.

Closes gh-1306
2014-08-06 15:01:58 -04:00
Scott González
d157b669b7 Authors: Update 2014-08-06 08:22:10 -04:00
Scott González
b6a2f45b04 Tests: Fix TestSwarm submissions for old jQuery 2014-08-06 07:44:55 -04:00
Mike Sherov
7c8790dcc8 Resizable: account for padding & border in grids.
Fixes #10437
2014-08-05 14:16:11 -04:00
Jyoti Deka
750a8fd0c2 Resizable: Fix containment width with relative parent.
Refs #10140
Closes gh-1303
2014-08-04 10:04:50 -04:00
Mike Sherov
2779212a0e Resizable: Fix containment calculation with relative parent
Remove an incorrect fix introduced in 47cd5b6f that causes
width calculations to be incorrect once the correct fix
was introduced in c03cb807

Fixes #10140
2014-08-04 08:18:35 -04:00
Scott González
5ddc7cd4d3 Tests: Whitespace 2014-08-01 13:30:45 -04:00
Scott González
c017628e11 Tests: Fix composite tests 2014-08-01 12:25:14 -04:00
Scott González
06fe70b10a Core: Ensure forms in tests have some actual content
Empty forms have no height, so they're considered hidden in jquery-git as of
jquery/jquery@10399ddcf8
2014-07-30 10:16:29 -04:00
Scott González
d6d15b4558 Core: Fix focusable detection for image maps
The attribute selector requires quotes to be valid, but only new (unreleased)
Sizzle has this requirement.
2014-07-30 10:03:53 -04:00
Scott González
9895cb58b4 Core: Clean up selector tests 2014-07-30 09:45:00 -04:00
Scott González
4ad45991e6 Selectmenu: Remove unused var in test 2014-07-29 15:18:46 -04:00
Scott González
64faf2da0a Selectmenu: Don't check menu width in width option tests 2014-07-29 15:02:36 -04:00
Scott González
749a6a5667 Selectmenu: Preserve text selection when interacting with the widget
Fixes #10144
Closes gh-1295
2014-07-29 13:19:28 -04:00
Scott González
45e13ed208 Selectmenu: Properly set width for button
Fixes #10145
Closes gh-1296
2014-07-29 13:17:30 -04:00
Scott González
d1e327c189 Autocomplete: Fix styling for combobox demo
Fixes #10059
2014-07-24 17:21:33 -04:00
Yermo Lamers
930bc7df66 Autocomplete: ESCAPE should not change content of a MultiLine
Fixes #9790
Closes gh-1190
2014-07-24 17:00:55 -04:00
Scott González
5beae72e77 Resizable: Fix size/position changes in resize event
Fixes #10351
Closes gh-1292
2014-07-24 16:21:51 -04:00
Scott González
9bb51d308e Position: Support positioning within document with jQuery 1.6.x
Fixes #10071
Closes gh-1294
2014-07-24 16:05:18 -04:00
Frederik Elvhage
f7429edfe9 Widget: Improve performance of cleanData method
Fixes #9546
Closes gh-1291
2014-07-24 12:07:12 -04:00
TJ VanToll
c399f1f77a Datepicker: Abstract mouseover logic to avoid explicit event trigger
The reliance on `.mouseover()` caused an issue in some circumstances
(see #5816). The removal of `.mouseover()` broke keyboard navigation
(see #10319).

Fixes #10319
Closes gh-1290
2014-07-23 15:10:37 -04:00
Scott González
69f25dbff7 Dialog: Track the instance as soon as the dialog is opened
Fixes #10152
2014-07-23 11:10:14 -04:00
Scott González
1071346aea Build: Upgrade to jquery-mousewheel 3.1.12 2014-07-22 12:13:59 -04:00