Alexander Schmitz
304c00d0e8
Widget: modify this.window test to support IE8 window equality quirk
...
Comparing this.window with strict equality fails in IE8
2014-08-27 19:33:38 -04:00
Alexander Schmitz
1abf9fc71f
Widget: Ensure window and document are defined in _getCreateOptions()
...
Closes gh-1320
2014-08-27 09:08:01 -04:00
Mike Sherov
bfb65076e4
Draggable: Add battery of tests to cover connectToSortable
...
Refs #9481
Refs #9675
Closes gh-1323
2014-08-26 10:05:45 -04:00
Mike Sherov
52a1de5caa
Sortable: cancelHelperRemoval only considers helper, not placeholder
...
Refs #9675
2014-08-26 09:52:00 -04:00
Mike Sherov
c7bec85cfa
Draggable: append divs to iframe parent for iframefix
...
This allows the blocking div to move with the iframe in
most situations, whereas appending to the body wouldn't.
Fixes #9671
2014-08-24 07:19:38 -04:00
Mike Sherov
df7e32fe37
Draggable: Check all parents for fixed positioning when scrolling
...
Fixes #9612
2014-08-23 15:34:04 -04:00
Mike Sherov
95546c5d04
Draggable: No cloning in connectToSortable and ensure correct position
...
Draggables now forcefully recalculate their position when dragged out
of a sortable. Sortables now override draggable position when a
draggable is dragged into it. Lastly, no longer remove sortable helper
when dragging a draggable out, which allows us to not use a clone.
Fixes #7734
Fixes #8809
Closes gh-1322
2014-08-23 15:08:54 -04:00
Dave Stein
49c3fb7403
Draggable Tests: Ensure scrolling and dragging tests assert correctly
2014-08-22 17:19:09 -04:00
Mike Sherov
aa425ab95d
Build: Pull in jquery.simulate.js from Bower
...
Fixes #10563
2014-08-22 17:01:50 -04:00
Mike Sherov
cedf91c0a9
Draggable Tests: Fix failures due to fractional widths
2014-08-20 21:10:33 -04:00
Mike Sherov
e12e3e12b1
Mouse: Only detect out of document mouseups after a mousemove
...
This prevents the firing of mouseup in the case of IE<9, which will
fire a mousemove event if content is placed under the cursor on
mousedown.
Fixes #7778
2014-08-20 11:19:36 -04:00
Mike Sherov
451dded230
Draggable: Ensure helper is positioned even if its the element itself
...
Fixes #9446
2014-08-19 15:15:21 -04:00
Uri Gilad
8eca7b8f45
Draggable: Set explicit width/height instead of right/bottom css.
...
Fixes #7772
2014-08-18 15:30:54 -04:00
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
Mike Sherov
b5846bece3
Draggable: Recalculate hash offset on start after plugins run
...
Fixes #6884
2014-08-16 21:27:16 -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
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
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
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
2ac0769967
Draggable Tests: Fix several whitespace issues.
2014-08-12 19:30:09 -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
Mike Sherov
df2f7555b4
Draggable Tests: Fix inconsistent operator spacing.
2014-08-06 19:43:13 -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
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
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
45e13ed208
Selectmenu: Properly set width for button
...
Fixes #10145
Closes gh-1296
2014-07-29 13:17:30 -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
TJ VanToll
3ca32b2ad8
Draggable: Manage ui-draggable-handle correctly in nested instances
2014-07-15 15:49:15 -04:00
TJ VanToll
7594a31425
Draggable: Only apply ui-draggable-handle within the draggable instance
...
Fixes #10212
Closes gh-1284
2014-07-15 15:49:00 -04:00
Rodrigo Menezes
5730374238
Datepicker: reject dates with two year digits when expecting 'yy'
...
Fixes #8353
Closes gh-1248
2014-07-14 09:34:33 -04:00
Scott González
15baf024c3
Slider: Reset positioning when orientation changes
...
Fixes #10105
Closes gh-1268
2014-07-02 17:17:05 -04:00
TJ VanToll
c29b4434b6
Tests: Use closeEnough() to account for rounding differences
...
Selectmenu's test suite broke with b0e8380
, which changed the padding
used by the menu widget. Selectmenu conditionally adds pixels to the
menu's width, and using closeEnough() accounts for that and the
rounding differences across browsers.
Closes gh-1275
2014-06-25 12:16:29 -04:00
Scott González
6df127a0b5
Build: Reorganize external directory
...
Put each external library into its own directory.
Move jquery.js to external.
Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
226cc3e9e5
Dialog: Honor preventDefault when managing focus
...
If event.isDefaultPrevented() is true, the focus management is
completely skipped, assuming the user manages focus manually.
Fixes #10103
Closes gh-1265
2014-06-10 13:59:45 +02:00
Jörn Zaefferer
a0b84767a7
Dialog: Fix shift-tab handling, focus the correct element
...
Copy-paste error introduced in df6110c0d4
Updates the tabbing test to be more specific about which element should
have focus, instead of only checking if focus is within the dialog.
Ref #9646
Ref #10103
Closes gh-1264
2014-06-10 13:54:58 +02:00