Commit Graph

3855 Commits

Author SHA1 Message Date
Timmy Willison
758fd6cea9 Docs: 1.x-master branch -> compat branch; 2.x branch -> master branch 2014-11-03 12:34:45 -05:00
Dan Hart
598ed050f6 Ajax: Fix for request aborted in ajaxSend
Fixes gh-1775
Close gh-1619
2014-11-01 12:44:43 -04:00
Arthur Verschaeve
31d58c5cbb Change broken url to wayback one 2014-10-30 10:26:38 -04:00
Michał Gołębiowski
f110360f65 Deprecated: Drop size and andSelf methods
Fixes gh-1749
Closes gh-1822
2014-10-30 01:19:54 +01:00
Oleg Gaidarenko
4e7f34f629 Ajax: remove event dependency from the ajax module
Closes gh-1695
2014-10-14 21:24:05 +04:00
Jason Bedard
0cdec797de Data: avoid non-alphanumeric chars in expando properties
Ref chromium issue 378607
Ref #14839
Closes gh-1662
2014-09-26 15:03:05 +04:00
Daniel Herman
b807aedb7f Event: Restore the constructor property on jQuery.Event prototype
The original definition of the jQuery.Event prototype was paving over the
`constructor` property which was causing jQuery.isPlainObject to
improperly report that an instance of jQuery.Event was a plain object.

Fixes #15090
Closes gh-1580
2014-09-04 03:28:40 -04:00
Richard Gibson
1ae025e24f Manipulation: Tolerate XMLNode host object input to getAll
Fixes #15151
Ref 25712d77c3
Closes gh-1602
2014-09-04 02:41:57 -04:00
Oleg Gaidarenko
7e09619cdf CSS: Correct typo in the comment 2014-09-03 00:20:23 +04:00
Oleg Gaidarenko
a7724186c9 CSS: Use pre-defined displays for html and body
Ref 60f546acb1
Ref 274feb53cc
2014-09-03 00:11:05 +04:00
Nazar Mokrynskyi
274feb53cc CSS: Remove use of getDefaultComputedStyle
Remove optimization to make jQuery compatible with Google's Polymer project

Closes gh-1647
Fixes #15227
2014-09-02 23:34:48 +04:00
Oleg Gaidarenko
075da3091c Attr: Use typeof check for getAttribute method
Ref 29838b6cab
2014-09-02 21:48:35 +04:00
Chris Antaki
15a609f766 Build: Moved JSHint directives to .jshintrc file
Closes gh-1595
2014-09-02 20:31:11 +04:00
Chris Antaki
4287442ab8 Offset: Simplified a conditional 2014-09-02 20:29:10 +04:00
Chris Antaki
29838b6cab Core: Drop strundefined variable 2014-09-02 20:29:10 +04:00
Aurelio De Rosa
895ea6887d CSS: Removed redundant "to the number" in comment
Closes gh-1594
2014-09-02 20:12:35 +04:00
Timmy Willison
10399ddcf8 CSS: elements are hidden when either offsetWidth or offsetHeight is zero
- Note: this is a breaking change that has been delayed for several versions.

Fixes #10406
Fixes #13132
2014-07-17 17:03:35 -07:00
Timmy Willison
c869a1ef8a Build: update grunt-jscs-checker and pass with the new rules 2014-07-17 10:25:59 -07:00
Chris Antaki
e5190982c4 Ajax: Remove workaround for IE6/7
Closes gh-1597
Ref #8138
2014-07-13 00:34:40 +04:00
Timo Tijhof
2fb719e5aa Core: Consistently use local reference to access()
Ref 3b53b75160
Closes gh-1605
2014-07-12 22:10:45 +04:00
Scott González
c5d9d88dce Build: Move all external libraries to external directory
Closes gh-1593
2014-06-24 10:17:50 -04:00
Scott González
8d113104e9 Build: Remove unused Sizzle test files 2014-06-24 10:16:55 -04:00
Oleg Gaidarenko
708764f47b Effects: Improve raf logic
* Make animation behave as if jQuery.fx.off = true if document is hidden

* Use cancelAnimationFrame in jQuery.fx.stop

Closes gh-1578
2014-06-16 03:08:46 +04:00
Oleg Gaidarenko
72119e0023 Effects: Reintroduce use of requestAnimationFrame
Same as before, just use don't use prefixes, since they pretty match useless now
and use page visibility API to determine if animation should start.

Also null the requestAnimationFrame attribute in window for tests since
sinon does not provide fake method for it.

Fixes #15147
2014-06-16 03:08:46 +04:00
Oleg Gaidarenko
bbdfbb4ee8 Ajax: Always use script injection in globalEval
Fixes #14757
Closes gh-1449
2014-06-16 03:08:46 +04:00
Oleg Gaidarenko
e488d985cf CSS: Do not throw on frame elements in FF
IE9-10 throws on elements created in popups (see #14150), FF meanwhile throws
on frame elements through "defaultView.getComputedStyle" (see #15098)

Use "defaultView" if in the popup which would fix IE issue,
use "window.getComputedStyle" which would fix FF issue.

And everybody wins, except performance, but who cares right?

Fixes #15098
Closes gh-1583
2014-06-16 03:08:26 +04:00
Dave Methvin
d837f119c3 Support: clean up comments and Support notation
Closes gh-1577
2014-06-10 23:28:14 -04:00
Richard Gibson
e1192af872 Core: Work around loss of precision from parseFloat
Fixes #15100
(cherry picked from commit b6e99eb43c)
2014-06-07 14:35:01 -04:00
TJ VanToll
c18c6229c8 Wrap: Declare a dependency on the manipulation module
Fixes #15121
Closes gh-1589
2014-06-02 16:43:46 -04:00
TJ VanToll
d41e81980e Ajax: Support usage without jQuery.event
Fixes #15118
Closes gh-1588
2014-06-02 15:08:40 -04:00
Timmy Willison
97c803acfb Ajax: move ajax event aliases to their own file
Fixes #15126
2014-06-02 12:39:11 -04:00
Dave Methvin
b8133e282c Data: Work around IE11 bug with onpageshow attribute
Fixes #14894
2014-04-30 10:46:26 -04:00
Oleg Gaidarenko
c34dbf5a8d Effects: Respect display value on inline elements
Take "olddisplay" value into the account

Fixes #14824
Closes gh-1566
Ref 73fe17299a
2014-04-30 17:05:48 +04:00
Richard Gibson
90b43de212 Selector: Update Sizzle to 1.10.19
Fixes #14901
Fixes #14793
2014-04-18 17:17:51 -04:00
Christian Kosmowski
1ca84214cc Dimensions: Reverse a check to avoid potential reflows
Fixes #14979
Closes gh-1560
2014-04-18 10:00:42 -04:00
Philip Jägenstedt
2c2c93c7cb Selector: Use Element.matches in selector-native if available
Spec:
http://dom.spec.whatwg.org/#dom-element-matches

Support in Chromium:
https://code.google.com/p/chromium/issues/detail?id=326652

Fixes #14902
Closes gh-1524
2014-03-20 23:32:40 -04:00
Michał Gołębiowski
ad032d3c7d Event: Fix isDefaultPrevented for bubbled events in Android 2.3
Fixes #14897
Closes gh-1545
2014-03-20 23:16:30 -04:00
Richard Gibson
890d441aa5 Effects: Don't overwrite display:none when .hide()ing hidden elements
Fixes #14848
Closes gh-1548
2014-03-20 22:54:38 -04:00
Oleg Gaidarenko
5a8f769332 CSS: jQuery#hide should always save display value
Fixes #14750
Closes gh-1509
2014-03-20 22:37:05 -04:00
Jonathan Sampson
85af4e6412 Manipulation: Change support test to be WWA-friendly
Setting the innerHTML property in an unsafe manner raises issues in
Windows Web Applications. Strings being passed into innerHTML cannot
include the name attribute.

Closes gh-1537
2014-03-20 16:54:37 -04:00
John Hoven
541e7349b6 Attributes: Trim whitespace from option text when returned as a value
Fixes #14858
Ref #14686
Closes gh-1531
(cherry picked from commit 9ec429cf62)

Conflicts:
	src/attributes/val.js
2014-03-20 15:47:35 -04:00
Rodrigo Rosenfeld Rosas
e547a2775f CSS: window.getDefaultComputedStyle may return null
Fixes #14736
Closes gh-1501
(cherry picked from commit 51910ba8a5aff4cd1a811f1fdb76a6c62a09a666)
2014-03-20 14:42:44 -04:00
Benjy Cui
ca0086b55a Core: Fix comments for .get() method
Closes gh-1547
2014-03-20 12:50:52 -04:00
louisremi
e06f428f6e Event: Treat Pointer events like mouse events, #14741
Ref #14741
Ref gh-1503
2014-03-16 10:49:57 -04:00
Roman Rei_
c29e9c4db1 CSS: Add flex-grow and flex-shrink to cssNumber
Fixes #14888
Closes gh-1536
2014-03-13 23:12:40 -04:00
S. Andrew Sheppard
2585ee5880 AMD: Note on AMD best practices
Fixes #14687
Closes gh-1478
2014-03-12 23:22:31 -04:00
Dave Methvin
6a89db86ed Event: Call underlying stopImmediatePropagation when present
Fixes #13997
2014-03-12 21:11:26 -04:00
Michał Gołębiowski
2c180ef938 Css: Revert 24e587929f
The workaround to be able to change !important styles broke the browser
keeping the old CSS value if the new one was rejected. Patching it would
involve a significant perf hit (~33%) so the initial patch needs to be
reverted instead.

Tests by m_gol & gibson042.

Fixes #14836
Closes gh-1532
2014-03-10 19:14:44 +01:00
Michał Gołębiowski
a96d5bed58 Manipulation: don't use Object.keys for consistency
Fixes #14659
2014-03-09 23:31:59 +01:00
Dave Methvin
2df1aad6a1 Core: Do not run window.onready when ready
Fixes #14802
2014-03-04 21:00:04 -05:00