Arthur Stolyar
d4dd548aca
Offset: Fix .offset() to correctly work with ShadowDOM
...
Fixes gh-1784
Close gh-2043
2015-05-05 09:00:27 -07:00
Timmy Willison
17ce9edf1e
Selector: add test for jQuery.unique() alias
2015-05-05 07:59:26 -07:00
Timmy Willison
d9d930f79e
Selector: add jQuery.uniqueSort; deprecate jQuery.unique
...
Fixes gh-2228
2015-05-04 15:28:44 -07:00
Timmy Willison
cf16f860b0
Data: camelCasing should not ignore case
...
Fixes gh-2070
2015-05-04 10:49:52 -04:00
Timmy Willison
0204c3089e
Data: always camelCase keys in .data()
...
- This effectively implements our "Embrace HTML5" option
- Related: http://goo.gl/GcQAtn
Fixes gh-2257
2015-05-04 10:41:44 -04:00
Timmy Willison
a254f22d7b
Data: do not include digits when camelCasing
...
Fixes gh-1751
2015-05-04 10:41:43 -04:00
Oleg Gaidarenko
1a067a49d1
Event: remove guard for falsy handler argument of jQuery#on method
...
(cherry-picked from fac67a9842
)
Since we don't have this in off method and its a common perception
that this is a rudiment code
Ref gh-2248
Closes gh-2249
2015-05-03 13:57:55 +03:00
Richard Gibson
fb25bacf9b
Manipulation: Make an HTML interception point
...
Fixes gh-1747
Closes gh-2203
(cherry picked from commit 225bde37c9
)
Conflicts:
src/manipulation.js
test/unit/manipulation.js
2015-04-30 13:16:28 -04:00
Richard Gibson
4cafb58ba4
Manipulation: Detect sneaky no-content replaceWith input
...
Fixes gh-2204
Ref 642e9a4557
Closes gh-1752
Closes gh-2206
(cherry picked from commit 4b27ae16a2
)
Conflicts:
src/manipulation.js
test/unit/manipulation.js
2015-04-30 11:37:01 -04:00
Timmy Willison
1e7a2f3674
Core: add workaround for iOS JIT error in isArrayLike
...
Fixes gh-2145
2015-04-29 18:03:32 -04:00
Richard Gibson
35295f1c20
Deferred: Always handle progress callbacks before done/fail
...
Fixes gh-2013
Fixes gh-2010
Closes gh-2210
(cherry picked from commit 002240a6eb
)
2015-04-22 15:25:35 -04:00
Timmy Willison
7bce5b0ee1
Attributes: revert returning null for non-existant attributes
...
Ref https://github.com/jquery/jquery/issues/2118
2015-03-30 15:30:21 -04:00
Dave Methvin
e38138af6a
Wrap: Support .unwrap( selector) for selective unwrapping
...
Fixes gh-1744
Closes gh-2003
(cherry picked from commit 7b09235cee
)
2015-03-30 13:39:44 -04:00
Michał Gołębiowski
19c0377fcc
Core: Update tested jsdom, drop obsolete workarounds
...
The latest version supporting Node.js is 3.1.2; some workarounds are not needed
for this version. For example, in jsdom 3.1.2 a document created via
document.implementation.createHTMLDocument( "" ) has a body.
(partially cherry-picked from 95c0a10e15
)
Fixes gh-2153
Closes gh-2154
2015-03-25 23:14:23 +01:00
Michał Gołębiowski
cd63e9c622
Offset: Round offset value for the sake of floating errors
...
IE10+ may return not exactly the offset.top value set in an offset callback
if parent has fractional top offset itself. Checking for being close to the
desired result fixes the test error.
(cherry-picked from 62ae2d0fb7
)
Fixes gh-2147
2015-03-23 18:30:05 +01:00
Richard Gibson
34f2563179
Deferred: Backwards-compatible standards interoperability
...
Fixes gh-1722
Closes gh-1996
(cherry picked from commit 555a50d340
)
2015-03-20 02:14:04 -04:00
Richard Gibson
9d255b3e50
Tests: Expand CSS relative adjustment tolerance for IE
...
Ref 48be675200
Ref 4a8000b51a
(cherry picked from commit e22ef5d901
)
2015-03-16 23:53:53 -04:00
Richard Gibson
4a8000b51a
Tests: Fix CSS relative adjustment test for round-down browsers
...
Ref 9b03f6df88
Ref 6fb2cefc60
(cherry picked from commit 48be675200
)
2015-03-16 23:07:39 -04:00
Timmy Willison
a403655491
Attributes: revert returning null for non-elements
2015-03-16 14:12:00 -04:00
Timmy Willison
17bd6e9cf9
Attributes: fix failing test for new return value
2015-03-16 11:54:43 -04:00
Winston Howes
afca031826
Attributes: return null when attribute does not exist
...
Fixes gh-2118
Close gh-2129
Conflicts:
test/unit/attributes.js
2015-03-16 11:54:33 -04:00
Mr21
6fb2cefc60
CSS: Support relative adjustment in any applicable unit
...
Fixes gh-1711
Closes gh-2011
(cherry picked from commit 9b03f6df88
)
Conflicts:
src/css.js
src/effects.js
2015-03-09 13:31:11 -04:00
Oleg Gaidarenko
9368a8cd8c
Ajax: remove deprecated extensions from ajax promise
...
(cherry-picked from 9d1b989f20
)
Fixes gh-2084
Closes gh-2092
2015-02-17 09:59:22 +03:00
Oleg Gaidarenko
98c77c1199
Build: fix broken assertions caused by QUnit update
...
QUnit update broke couple traversing and manipulation tests, since new qunit
added another form to the test-suite while some of
jQuery selectors weren't specific
(cherry-picked from 8b6aeae52d
)
Ref db31206d36
2015-02-15 02:24:13 +03:00
Oleg Gaidarenko
1d3d2b1aa6
Ajax: make jQuery#load "type" field explicit
...
* Move "evalScript.php" file to appropriate place
* Make jQuery#load "type" field explicit and add test for it
Ref trac-11264
Ref 4ef120d3f2
2015-02-15 02:03:32 +03:00
Oleg Gaidarenko
889bb1e3ee
Core: simplify "each" stylesheet iteration test
...
(cherry-picked from fcb6c4d1d6
)
Closes gh-2089
2015-02-15 01:16:52 +03:00
Oleg Gaidarenko
f2ea60cfe8
Offset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0
...
Android 2.3 resize the iframe by its content meaning it's not possible
to scroll the iframe only its parent element.
It seems (not confirmed) in android 4.0 it's not possible to scroll
iframes from the code
(cherry-picked from 0c466438d1
)
Fixes gh-1981
Ref 4ab8603669
2015-02-11 22:47:11 +03:00
Oleg Gaidarenko
939e755163
Manipulation: don't auto-insert tbody
...
Fixes gh-1835
Closes gh-2021
Ref e984d1c79c
2015-02-11 17:11:15 +03:00
Oleg Gaidarenko
b744a50d47
Manipulation: simplify html wrappers
...
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element
(cherry-picked from 0ea342a6a6
)
Closes gh-2031
Fixes gh-2002
2015-02-11 00:46:12 +03:00
Michał Gołębiowski
25bc6809c5
CSS: Add a support test for the hack for .css('marginRight') etc.
...
This hack turns out to be needed by Android 4.0-4.3.
Add a support test so that the hack is invoked only where needed.
Refs 3747cc642a
Refs gh-1815
Refs gh-1820
Refs gh-1842
Closes gh-2061
2015-02-05 02:46:10 +01:00
Michał Gołębiowski
4e3c48f239
Data: Use a PDF object instead of a Java applet for acceptData testing
...
This should fix "Java out of date" errors on BrowserStack.
(cherry-picked from 087d280ad1
)
Fixes gh-1938
Closes gh-2028
2015-01-29 04:44:41 +01:00
Michał Gołębiowski
2524da09c6
Ajax: Run the PATCH test only in IE8 on TestSwarm
...
Fixes gh-1994
Closes gh-2026
2015-01-29 04:32:07 +01:00
Timo Tijhof
61bb61279c
Core: Return empty array instead of null for parseHTML("")
...
Fixes gh-1997
Close gh-1998
Conflicts:
test/unit/core.js
2015-01-19 11:41:32 -05:00
Oleg Gaidarenko
30ace26c42
Manipulation: increase delay of data-URI test
...
For Safar7/Opera - shot in the dark, can't reproduce this locally
Ref gh-1993
2015-01-15 05:43:30 +03:00
Dave Methvin
a05de404d8
Event: HTML5 drop events inherit from MouseEvent
...
Fixes gh-2009
Ref gh-1925
(cherry picked from commit d7e5fcee51
)
Conflicts:
test/unit/event.js
2015-01-14 14:45:44 -05:00
Oleg Gaidarenko
87bb713cc0
Manipulation: blacklist IE8 from running tests for tag-hyphenated elems
...
IE8 supports only HTML elements it knows about, but if user uses custom
elements a.k.a. tag-hyphenated, we assume it doesn't try to use them with IE8
Ref 5d522f5c74
2015-01-14 05:22:42 +03:00
Leonardo Braga
5d522f5c74
Manipulation: add support to tag-hyphenated elements
...
Ref #1987
Ref 85ffc6d973
2015-01-13 07:54:37 +03:00
Leonardo Braga
f19595cef4
Core: add support to tag-hyphenated elements
...
Ref #1987
Ref 534f13025a
2015-01-13 07:48:33 +03:00
Dave Methvin
e2ec5da2a7
Core: Remove deprecated context and selector properties
...
Fixes gh-1908
Closes gh-2000
(cherry picked from commit 0ea8c32863
)
2015-01-11 21:14:22 -05:00
George Mauer
26150f0910
Ajax: $.post and $.get can now take an options object
...
Fixes gh-1986
Closes gh-1995
(cherry picked from commit 89ce0af2cf
)
2015-01-11 20:47:20 -05:00
Richard Gibson
fc7477f492
Callbacks: Don't abort execution on .lock()
...
Fixes gh-1990
Closes gh-1991
2015-01-10 21:25:00 -05:00
Richard Gibson
f5a8c649b5
Callbacks: No object starts out locked
...
Fixes gh-1989
2015-01-10 21:24:35 -05:00
Victor Homyakov
b635ee2d36
Ajax: Fix cross-domain detection test for non-default port
...
Closes gh-1954
2015-01-06 21:23:16 -05:00
Aditya Raghavan
5b0b1b77db
Event: Normalize mouse event properties in drag events
...
DragEvent is a superset of MouseEvent, so we want to fix up mouse
properties like pageX and pageY.
Fixes gh-1925
(cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)
2015-01-05 15:30:32 -05:00
Nicolas HENRY
efb98f85ba
Deferred: Fix $.when with resolved deferred and progress callbacks
...
Ref ab20d9d24f
2014-12-25 15:48:57 +03:00
Oleg Gaidarenko
62a333e064
Offset: fix iframe scrollTop/Left test for IE8 and iPhone
...
* IE8 need a doctype, otherwise IE will scroll it, but will
still show old values. It wasn't noticable before, since IE8 will
update values if in the dev tools you swtich to "Quirks mode"
and then back again, then this tab will always show the correct values
even if you update it
* iPhone resize the iframe by its content regardless of
the width, height values, meaning it's not possible to scroll
the iframe only its parent element
Ref ae30fb6c27
2014-12-25 00:55:15 +03:00
Oleg Gaidarenko
d632699c6b
Offset: fix iframe scrollTop/Left test for IE8
...
Ref ae30fb6c27
2014-12-24 04:29:10 +03:00
Oleg Gaidarenko
dac716ca65
CSS: simplify hack of css getter for the computed values
...
Ref gh-1906
2014-12-24 02:46:09 +03:00
Oleg Gaidarenko
3dcee02160
Manipulation: make wrapAll funarg execute only once
...
Ref 359b03cac7
2014-12-24 01:58:39 +03:00
Aditya Raghavan
ae30fb6c27
CSS: Add unit tests for negative margins and positioning
...
Ref 1b932bb786
2014-12-24 00:35:54 +03:00