Oleg Gaidarenko
3d850edb13
Ajax: Remove jsonp callbacks through "jQuery#removeProp" method
...
Fixes gh-2323
Closes gh-2464
Ref a2ae215d99
2015-07-13 04:09:31 +03:00
Timmy Willison
1682d36be2
Build: add mailmap entry
2015-07-11 11:41:17 -04:00
Timmy Willison
799332fd7e
Build: update AUTHORS.txt
2015-07-08 13:42:33 -04:00
Timmy Willison
fe6afa8268
Effects: fix failing tests in IE8
2015-07-08 13:31:09 -04:00
Michał Gołębiowski
7ee0feaca6
CSS: Add an integration test for issue gh-1764
...
(cherry-picked from 8887106702
)
Refs gh-1764
Refs gh-2401
Closes gh-2425
2015-07-08 12:59:49 +02:00
Michał Gołębiowski
23212b34e6
CSS: Make .css("width") & .css("height") return fractional values
...
Fixes gh-1724
Closes gh-2454
Refs gh-2439
2015-07-07 18:14:04 +02:00
Timmy Willison
203979d153
Deferred: pass lint in new catch tests
2015-07-06 17:10:26 -04:00
Timmy Willison
ef77f83db8
Deferred: add .catch handler
...
Fixes gh-2102
2015-07-06 17:08:42 -04:00
Michał Gołębiowski
5895340088
CSS: Improve a comment explaining IE11 fullscreen bug
...
(cherry-picked from 8e4aac8cb0
)
2015-07-01 23:21:21 +02:00
Michał Gołębiowski
29561bca8f
Effects: Fix tests
...
Refs 6b10f9d7e9
Refs gh-2340
2015-06-28 22:42:03 +02:00
Corey Frang
d07774ae06
Tests: Fix merge conflict
...
Introduced in 6b10f9d7e9
originally.
Had a rebase conflict that I fixed but forgot to ⌘-s. ☹
2015-06-26 20:30:56 -04:00
Corey Frang
1390d0736f
Tests: Lower the checks rounding error
...
The CSS value rounding error was causig failures on FF and IE.
2015-06-26 20:21:32 -04:00
Corey Frang
0ff805772a
Effects: Adding unit tests for jQuery.Animation
...
Closes gh-2340
(cherry picked from commit b3b2d6c3dd
)
Conflicts:
src/effects.js
2015-06-26 20:12:42 -04:00
Corey Frang
6b10f9d7e9
Effects: Add tests for jQuery.Tween
...
Conflicts:
src/selector-native.js
test/index.html
test/unit/effects.js
2015-06-26 20:11:55 -04:00
Thomas Tortorini
bf282ea8e2
CSS: make the getStyles function more readable
...
(cherry-picked from 3a0d582cf6
)
Closes gh-2393
2015-06-25 02:55:06 +02:00
Gilad Peleg
f2bcf87c25
Attributes: fix IE8 issues
...
Follow-up for d0388e9e80
2015-06-25 03:07:24 +03:00
Gilad Peleg
d0388e9e80
Core: organize prop & attr code to be similar
...
Ref 5153b5334e
Closes gh-2426
2015-06-23 17:44:25 +03:00
Martin Naumann
6df1bf9be8
CSS: Work around an IE11 fullscreen dimensions bug
...
(cherry-picked from 90d828bad0
)
Fixes gh-1764
Closes gh-2401
2015-06-23 01:47:48 +02:00
Michał Gołębiowski
453738ab85
Core: Change support.ownLast to support.ownFirst
...
jQuery.support.ownLast was the only support test that was supposed
to be false when it succeeded. It was confusing.
Fixes gh-2406
Closes gh-2408
2015-06-23 00:33:51 +02:00
Timmy Willison
a0a5c0be2d
Offset: add tests for hidden elements + scroll
...
- Also add comments to hidden/disconnected tests noting
this is to ensure consistency between branches
2015-06-16 13:24:12 -04:00
Timmy Willison
3b1de11267
Offset: getBounding doesn't return width/height in IE8. Fixes test.
2015-06-16 12:49:22 -04:00
Timmy Willison
523de777f9
Offset: no need to check for ownerDocument
2015-06-16 12:23:43 -04:00
Timmy Willison
6df399073c
Offset: revert to jQuery.contains for IE8's sake (compat only)
...
- getClientRects() throws on disconnected elements in IE8 only
2015-06-16 12:14:05 -04:00
Timmy Willison
25e8620da9
Offset: return before getBoundingClientRect to avoid error in IE8-11
2015-06-16 11:24:42 -04:00
Timmy Willison
63f19a95b9
Offset: return zeros for disconnected/hidden elements
...
Fixes gh-2310
Close gh-2396
2015-06-16 10:55:51 -04:00
Timmy Willison
ee69e9c8b8
Revert "Offset: allow offset setter to throw for disconnected elements"
...
This reverts commit 0d11c1182f
.
2015-06-16 10:55:48 -04:00
Michał Gołębiowski
d8037c6d52
Tests: Remove test/data/ua.txt
...
The file was used by $.browser tests but $.browser now doesn't exists
in Core and this file hasn't been updated for a few years.
(cherry-picked from e831856490
)
Fixes gh-2398
2015-06-16 16:26:12 +02:00
Michał Gołębiowski
1d052bdbe6
Tests: Remove Edge version from the user agent
...
The version will change in the future, matching by /edge\//i is enough
(cherry-picked from 5a1217e401
)
Refs 8e111df641
2015-06-16 14:45:30 +02:00
Michał Gołębiowski
546593bdd2
Tests: Add Microsoft Edge results (from Windows 10 build 10130)
...
The Microsoft Edge user agent contains "Chrome" so it needs to be checked
before Chrome.
Refs 8e111df641
2015-06-14 02:09:34 +02:00
Michał Gołębiowski
ef332c7c7b
Tests: Correct a typo in the regex matching Safari 8
...
(cherry-picked from c17543fd3c
)
2015-06-14 02:05:05 +02:00
Michał Gołębiowski
b819be3e2f
Manipulation: Remove an internal argument to the remove method
...
(cherry-picked from 349edbd6c5
)
Fixes gh-2301
Closes gh-2366
2015-06-14 00:34:05 +02:00
Michał Gołębiowski
473d2db9fd
Event: Remove an internal argument to the on method
...
(cherry-picked from 04a29696e5
)
Refs gh-2301
2015-06-14 00:24:50 +02:00
Michał Gołębiowski
2fa3bac7eb
Core: Make jQuery objects iterable
...
Make iterating over jQuery objects possible using ES 2015 for-of:
for ( node of $( "<div id=narwhal>" ) ) {
console.log( node.id ); // "narwhal"
}
(partially cherry-picked from bb026fc12c
)
Fixes gh-1693
2015-06-13 23:31:27 +02:00
Michał Gołębiowski
a022da7056
Build: Update grunt-contrib-jshint
...
JSON needed to be added to JSHint globals as it's not implied by the es3
setting and yet all our supported browsers have it implemented.
(cherry-picked from 1556c4661a
)
2015-06-13 23:24:01 +02:00
Oleg Gaidarenko
24a6bb9fe8
Build: remove bower.json lint target
...
(Cherry-picked from 285cfbfccc
)
Ref 26eca143c2
2015-06-11 16:27:24 +03:00
Oleg Gaidarenko
ac23f91cbe
Event: correct an unfinished comment
2015-06-05 22:23:59 +03:00
Oleg Gaidarenko
05e54ce798
Event: remove preDispatch hook & simplify "simulate" signature
...
Ref 3655c4e190
2015-06-05 22:21:26 +03:00
Michał Gołębiowski
e847574fc7
CSS: Don't name the anonymous swap function
...
IE8 doesn't like named anonymous expressions. Not naming the function
expression reduces the gzipped size by 5 bytes.
In ECMAScript 2015 the function will get the name inferred from the
variable name (here: swap) anyway.
Refs 02a9d9f94b
2015-06-01 19:58:21 +02:00
Gilad Peleg
8bf81d76d1
Build: Update the license attribute
...
Specifying the type and URL is deprecated:
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
(cherry-picked from 8e92e1ea3c
)
Fixes gh-2331
Closes gh-2330
2015-06-01 19:35:19 +02:00
Michał Gołębiowski
ceeaaeb45e
Ajax: Remove remnants of the load event alias handling
...
(cherry-picked from 38a669735d
)
Refs 0705be4750
Refs gh-2287
Closes gh-2362
2015-06-01 19:13:06 +02:00
Michał Gołębiowski
42ea746825
CSS: Don't cache unrecognized CSS property names
...
This prevents jQuery from caching a prefixed property name if provided
directly by the user, e.g. the following code:
elem.css( "msTransform", "translate(5px, 2px)" );
should not prevent one from from later setting the transition directly:
elem.css( "transform", "translate(5px, 2px)" );
on a browser not understanding the unprefixed version which is the case
for Safari 8 & transform.
(cherry-picked from d471842b3e
)
Fixes gh-2015
Closes gh-2298
2015-06-01 14:25:14 +02:00
Oleg Gaidarenko
37c3d08782
Event: improve originalEvent hack
...
Ref 6df669f0fb
Ref gh-2336
2015-05-29 20:33:08 +03:00
Oleg Gaidarenko
e6a492d3b6
Docs: remove redundant instruction from the readme
...
(Cherry-picked from 3c92770867
)
Thanks @elas7
Fixes gh-2359
2015-05-29 19:46:00 +03:00
Oleg Gaidarenko
a9296dffb0
Build: update requirejs dependency to 2.1.17
...
Fixes gh-2290
Ref a644101ed0
2015-05-19 18:52:55 +03:00
Michał Gołębiowski
bd699cb17b
Ajax: Fix the XHR fallback logic for IE8
...
The logic for IE8 has been incorrectly reversed: every non-local request
outside of the whitelist was run via the native XHR. This commit reverses
this logic and adds back a fallback to the ActiveX XHR if the native one
fails even after the regex detection.
Refs 61f812b7e7
2015-05-19 14:06:15 +02:00
Oleg Gaidarenko
ef30bdf4f1
Event: remove deprecated event aliases
...
(Cherry-picked from 0705be4750
)
Fixes gh-2286
Closes gh-2287
Ref trac-11733
2015-05-19 13:47:17 +03:00
Oleg Gaidarenko
57fb2dc02e
Attributes: don't test SVG CSS-class manipulation in IE8
...
Ref 20aaed367f
2015-05-19 13:47:11 +03:00
Oleg Gaidarenko
401a351bd2
Event: provide verbose info for focus(in | out) & rename support props
...
Ref c074006a69
Ref gh-2312
2015-05-19 13:46:34 +03:00
Michał Gołębiowski
8d88cd599f
Ajax: Rename Spartan to Edge in a comment
2015-05-18 23:03:53 +02:00
Michał Gołębiowski
61f812b7e7
Ajax: Use the native XHR for all non-local requests in IE9+
...
IE throws an error on cross-domain PATCH requests if issued via the ActiveX
interface. This commit switches the logic to use the native XHR in all
non-local requests.
Fixes gh-1684
Closes gh-2183
2015-05-18 22:26:00 +02:00