Commit Graph

3688 Commits

Author SHA1 Message Date
Chris Antaki
835e8c4ae3 Core: Drop strundefined variable
Ref 29838b6cab
Closes gh-1628
2014-09-02 20:35:49 +04:00
Aurelio De Rosa
b59b819ffe CSS: Removed redundant "to the number" in comment
Ref 895ea6887d
2014-09-02 20:14:01 +04:00
Timmy Willison
7b9b98d6e3 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

Conflicts:
	src/css/hiddenVisibleSelectors.js
2014-07-17 17:33:29 -07:00
Timmy Willison
91e06e9aeb Build: update grunt-jscs-checker and pass with the new rules
Conflicts:
	build/tasks/build.js
	src/ajax/xhr.js
	src/attributes/classes.js
	src/attributes/prop.js
	src/attributes/val.js
	src/core/init.js
	src/core/ready.js
	src/css.js
	src/css/curCSS.js
	src/css/defaultDisplay.js
	src/data.js
	src/data/var/dataPriv.js
	src/data/var/dataUser.js
	src/dimensions.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/queue.js
	src/selector-native.js
	test/data/testrunner.js
2014-07-17 11:08:37 -07:00
Chris Antaki
e38a94a61c Ajax: Add support comment and fix code style issue
Closes gh-1600
Ref e5190982c4
Ref #8138
2014-07-13 00:38:37 +04:00
Timo Tijhof
eeab75da00 Core: Consistently use local reference to access()
Ref 2fb719e5aa
Ref 2063d6c189
2014-07-13 00:37:54 +04:00
Scott González
72e6192517 Build: Move all external libraries to external directory
Closes gh-1593

Conflicts:
	Gruntfile.js
	test/index.html
2014-06-25 13:48:49 -04:00
Scott González
62f7f7be9b Build: Remove unused Sizzle test files 2014-06-25 13:45:21 -04:00
Oleg Gaidarenko
9dc29a2b13 Effects: Improve raf logic
* Make animation behave as if jQuery.fx.off = true if document is hidden

* Use cancelAnimationFrame in jQuery.fx.stop

Ref 708764f47b
2014-06-16 03:21:53 +04:00
Oleg Gaidarenko
06a4540696 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
Ref 72119e0023
2014-06-16 03:21:48 +04:00
Oleg Gaidarenko
37f0f7f42c Ajax: Always use script injection in globalEval
Fixes #14757
Ref bbdfbb4ee8
2014-06-16 03:21:39 +04:00
Oleg Gaidarenko
76294e1e9e 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
Ref e488d985cf
2014-06-16 03:21:34 +04:00
Richard Gibson
b6e99eb43c Core: Work around loss of precision from parseFloat
Fixes #15100
2014-06-07 14:22:49 -04:00
TJ VanToll
6cb17c8ea4 Wrap: Declare a dependency on the manipulation module
Fixes #15121
Closes gh-1589
2014-06-02 16:44:22 -04:00
TJ VanToll
479e37f436 Ajax: Support usage without jQuery.event
Fixes #15118
Closes gh-1588
2014-06-02 16:41:00 -04:00
Timmy Willison
8530a2fc72 Ajax: move ajax event aliases to their own file
Fixes #15126
2014-06-02 12:41:24 -04:00
Dave Methvin
062a7d63e4 Data: Work around IE11 bug with onpageshow attribute
Fixes #14894
(cherry picked from commit b8133e282c)

Conflicts:
	src/data.js
	test/unit/data.js
2014-04-30 11:00:14 -04:00
Oleg Gaidarenko
f833c9af57 Effects: Respect display value on inline elements
Take "olddisplay" value into the account

Fixes #14824
Closes gh-1566
Ref 73fe17299a

(cherry-picked from c34dbf5a8d)
Conflicts:
	src/effects.js
2014-04-30 17:14:22 +04:00
Richard Gibson
12104f0401 Selector: Update Sizzle to 1.10.19
Fixes #14901
Fixes #14793
(cherry picked from commit 90b43de212)
2014-04-18 17:19:04 -04:00
Christian Kosmowski
90c50ef961 Dimensions: Reverse a check to avoid potential reflows
Fixes #14979
Closes gh-1560
(cherry picked from commit 1ca84214cc)

Conflicts:
	AUTHORS.txt
2014-04-18 10:10:11 -04:00
Richard Gibson
8072d25e6f Effects: Fix inline element animations
Ref 80cf965e02
Ref #14848
2014-03-24 12:36:15 -04:00
Michał Gołębiowski
10d7d5ce9d Css: change boxSizingReliable in IE<9.
Change boxSizingReliable test value to false in all IE versions.
Modify support comments to argument getComputedStyle guards
with oldIE support and not node.js which is not supported in 1.x.

Closes gh-1498
2014-03-21 08:30:41 -04:00
Michał Gołębiowski
98b5275c12 Event: Remove redundant fallback to getPreventDefault()
Android 2.3 is happy with returnValue already used for oldIE;
the getPreventDefault() fallback is not needed.

Closes gh-1546
2014-03-20 23:10:36 -04:00
Richard Gibson
80cf965e02 Effects: Don't overwrite display:none when .hide()ing hidden elements
Fixes #14848
Closes gh-1548
(cherry picked from commit 890d441aa5)

Conflicts:
	src/effects.js
2014-03-20 23:01:39 -04:00
Oleg Gaidarenko
6dcca6da36 CSS: jQuery#hide should always save display value
Fixes #14750
Closes gh-1509
(cherry picked from commit 5a8f769332)

Conflicts:
	src/css.js
2014-03-20 22:47:35 -04:00
John Hoven
9ec429cf62 Attributes: Trim whitespace from option text when returned as a value
Fixes #14858
Ref #14686
Closes gh-1531
2014-03-20 15:44:09 -04:00
Rodrigo Rosenfeld Rosas
5a1db91bf3 CSS: window.getDefaultComputedStyle may return null
Fixes #14736
Closes gh-1501
(cherry picked from commit 51910ba8a5aff4cd1a811f1fdb76a6c62a09a666)
2014-03-20 14:44:25 -04:00
Benjy Cui
17d8df8eec Core: Fix comments for .get() method
Closes gh-1547
(cherry picked from commit ca0086b55a)
2014-03-20 12:52:22 -04:00
louisremi
64d7c168c8 Event: Treat Pointer events like mouse events, #14741
Ref #14741
Ref gh-1503
(cherry picked from commit e06f428f6e)
2014-03-16 11:01:09 -04:00
Roman Rei_
045aeda1e3 CSS: Add flex-grow and flex-shrink to cssNumber
Fixes #14888
Closes gh-1536
(cherry picked from commit c29e9c4db1)
2014-03-13 23:14:55 -04:00
S. Andrew Sheppard
6d761984eb AMD: Note on AMD best practices
Fixes #14687
Closes gh-1478
(cherry picked from commit 19220c0f29fa60d80a2beb76f048ffc8b972ba35)

Conflicts:
	AUTHORS.txt
2014-03-12 23:21:30 -04:00
Dave Methvin
4c68d107b5 Event: Call underlying stopImmediatePropagation when present
Fixes #13997
(cherry picked from commit 6a89db86ed)
2014-03-12 21:45:50 -04:00
Michał Gołębiowski
b5050dc489 Support: Simplify the box-sizing test
Don't require body in the support.boxSizing test.
2014-03-10 19:25:25 +01:00
Michał Gołębiowski
4a6d1631ea 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.

(cherry-picked from 10e654218a)

Fixes #14836
Closes gh-1532
2014-03-10 19:20:54 +01:00
Dave Methvin
5911b3e087 Ajax: Use two-arg form of .slice() for old IE
Followup to a4b9bc57, #14773
2014-03-04 21:50:43 -05:00
Dave Methvin
80e3dfa6ba Core: Do not run window.onready when ready
Fixes #14802
(cherry picked from commit 2df1aad6a1)
2014-03-04 21:50:43 -05:00
Dave Methvin
4adc5b2217 CSS: Return values should be numbers
Fixes #14792
(cherry picked from commit f4b37d8982)
2014-03-04 21:50:42 -05:00
Dave Methvin
93fdfa2d8c Event: Allow triggerHandler(beforeunload)
Fixes #14791
(cherry picked from commit 06adf7c95d)

Conflicts:
	src/event.js
2014-03-04 21:50:41 -05:00
Dave Methvin
48837b92b0 Ajax: .load() should trim its selector
Fixes #14773
(cherry picked from commit 3a68c114e3)

Conflicts:
	src/ajax/load.js
2014-03-04 21:50:40 -05:00
Dave Methvin
c93b174b92 Core: Arrays like [42] should fail .isNumeric()
Fixes #14179
(cherry picked from commit 10efa1f5b4)
2014-03-04 21:50:39 -05:00
Michał Gołębiowski
a9fa2ec763 Core: Remove native String#trim usage to save size
(cherry-picked from 279913c71b)

Fixes #14794
2014-03-04 23:15:30 +01:00
Richard Gibson
b96522acfe Support: Reduce size via code consolidation and minification awareness
Ref badcd1b6f3
Closes gh-1518
2014-03-04 17:00:38 -05:00
Richard Gibson
81b89fd227 Support: Skip style-based tests when element.style is undefined
Fixes #14785
Ref #13754
Ref badcd1b6f3
2014-02-13 14:57:20 -08:00
Michał Gołębiowski
a0b19f7715 Core: Correct support comments for String.prototype.trim 2014-02-13 14:49:40 -08:00
Michał Gołębiowski
63f5486007 Docs: Add support comments for prefixed box-sizing 2014-02-05 15:59:38 +01:00
Michał Gołębiowski
e70d0d749b Selector: update Sizzle
(cherry-picked from a74ad04bc9)
2014-02-05 15:35:30 +01:00
Michał Gołębiowski
e46cabc6c2 Css: Document reliableMarginRight is needed for Android 2.3 2014-01-27 19:10:18 +01:00
Michał Gołębiowski
f4970c0390 Css: Fix the reliableMarginRight test in oldIE.
This fixes an error introduced by the previous commit.
2014-01-26 02:49:05 +01:00
Michał Gołębiowski
4cbb1a0063 Css: Don’t cache support.reliableMarginRight; thanks @jdalton, @timmywil
Fixes #14731
2014-01-26 02:07:35 +01:00
Dave Methvin
f345291209 Manipulation: Use textarea for missing IE defaultValue check
IE11 fixed the checkbox defaultValue issue but not textarea. Rather than
creating a new detect name I'm reusing the old one to protect anyone who
is unwisely using this externally. Re-fixing the defaultValue when it
doesn't need to be done is not a problem, so leave that code for IE11.

Fixes #14716
Closes gh-1495
2014-01-23 14:14:44 -05:00