Dave Methvin
1ece10fbee
Css: Remove non-functional unit test for negative margin
...
Thanks @MatthewMueller
Closes gh-1474
Ref gh-1918
(cherry picked from commit 30b3b33251abc38386b787c64494265177302b86)
2014-12-09 16:43:12 -05:00
Michał Gołębiowski
7e70867805
Support: Re-organize browser order, add Safari 8
...
Most browsers were put in order newest to oldest, Android was
treated differently; this has been fixed.
Also, browsers that share test results between different versions were
grouped together.
(refs 43faf6d1f9
)
2014-12-09 21:10:31 +01:00
Michał Gołębiowski
aec41a5c41
Attributes: Simplify the option val hook; backport a test from master
...
The hook is still defined; not using it could cause issues in IE<11.
Backport the test from the master branch.
Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.
(cherry-picked from f6302b0b53
)
Fixes gh-1902
Closes gh-1901
2014-12-08 22:51:55 +01:00
Michał Gołębiowski
90d7cc1d8b
Misc: Drop support for older browsers; update support comments
...
That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820
2014-12-08 21:12:33 +01:00
Oleg Gaidarenko
a467f8653a
Manipulation: improve test for data-URI
...
Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion
2014-12-08 09:23:06 +03:00
Veaceslav Grimalschi
ef93f95452
Event: Fully clean up events in unit test
...
Closes gh-1685
(cherry picked from commit 4467ed606a
)
2014-12-07 21:31:39 -05:00
Dave Methvin
61df648651
Callbacks: Disabling a callback should prevent firing
...
Thanks to @TheDistantSea for the report!
Fixes gh-1790
Closes gh-1643
(cherry picked from commit bc1cb122db
)
2014-12-07 21:00:45 -05:00
Richard Gibson
4365133def
Tests: Tilt at a few style guide windmills
...
Ref 3c13f4c629
(cherry picked from commit 906caebb3f
)
2014-12-06 13:33:02 -05:00
Richard Gibson
b747537f9e
Tests: Accommodate page changes from the QUnit HTML reporter
...
Ref 6748ba3496
(cherry picked from commit 3c13f4c629
)
2014-12-06 13:33:02 -05:00
Richard Gibson
f6f8848fbe
Tests: Minor updates for QUnit 1.16 compatibility
...
More to come later.
2014-12-05 12:32:49 -05:00
Dave Methvin
93f95c9663
Core: Throw an error on $("#") rather than returning 0-length collection
...
Closes gh-1682
Thanks @goob for the issue report!
(cherry picked from commit 80022c81ce
)
2014-12-03 14:55:33 -05:00
Oleg Gaidarenko
503e54564a
Manipulation: don't test data-URI with script element in IE8
...
Since, apparently, it doesn't support it. Couldn't find more relevant info
then this - http://msdn.microsoft.com/en-us/library/cc848897(v=vs.85).aspx
No guard for older IE, since support for them will be removed soon anyway
2014-12-03 12:35:21 +03:00
Bin Xin
bc1902ddc0
Manipulation: support data-URI scripts insertion
...
Ref 15f4dec789
2014-12-03 05:35:20 +03:00
Oleg Gaidarenko
1eedf0e9ea
Dimensions: allow modification of coordinates argument
...
Ref f7e60dc83d
2014-11-16 18:06:39 +03:00
Zheming Sun
c5e8e12cef
CSS: Fix get upper case alpha opacity in IE8
...
Fixes gh-1705
Closes gh-1704
2014-11-08 17:43:33 +01:00
Oleg Gaidarenko
3f9fda8fab
Build: Fix various typos
...
Thanks @jamesgpearce, @imyousuf
Ref dc4b914a05
2014-11-08 17:43:27 +01:00
Dan Hart
73c1ceaf42
Ajax: Fix for request aborted in ajaxSend
...
Fixes gh-1775
Close gh-1619
2014-11-01 12:48:12 -04:00
Michał Gołębiowski
2ea57c1002
Test: Switch leftover andSelf to addBack
2014-10-30 14:19:03 +01:00
Michał Gołębiowski
f1913cf031
Deprecated: Drop size and andSelf methods
...
(cherry-picked from f110360f65
)
Fixes gh-1749
Closes gh-1822
2014-10-30 14:09:34 +01:00
Daniel Herman
d4a998f62f
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
(cherry picked from commit b807aedb7f
)
2014-09-04 03:29:16 -04:00
Michał Gołębiowski
da84cb6b7a
Css: Fix the "sanity check" test
...
The #dl element has 0 height so it's now considered hidden regardless
of its width.
(cherry-picked from 995f70777a
)
2014-07-28 18:47:19 +02: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
Michał Gołębiowski
41f522ace1
Selector: Remove "#" exception for identifier tokens
...
Port Sizzle test change from:
f204a61122
(cherry-picked from 86e62d8b37
)
2014-06-30 18:17:11 +02:00
Oleg Gaidarenko
9953ae4c88
Build: Move test to appropriate module
...
Ref fbdbb6fd43
2014-06-16 03:21:58 +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
13040b655a
Effects: Remove needless operations in tests
...
Ref 10024c2582
2014-06-16 03:21:44 +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
d05f4bda1c
Tests: Clean up isNumeric tests
2014-06-07 14:33:36 -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
479e37f436
Ajax: Support usage without jQuery.event
...
Fixes #15118
Closes gh-1588
2014-06-02 16:41:00 -04:00
Oleg Gaidarenko
369add5f1d
Selector: Use jQuery reference not Sizzle
...
(Cherry-picked from 3b9057a18d
)
2014-05-29 21:55:15 +04:00
Oleg Gaidarenko
9e5f49fde3
Selector: Fix test iframe submission for firefox
...
Ref jquery/sizzle@20fbadb087
(Cherry-picked from efc4f8d781
)
2014-05-29 21:49:53 +04:00
Michał Gołębiowski
1bd576a3c4
Ajax, Manipulation: don't test cross-document manip in Android 2.3
...
(cherry-picked from 213b9604f3da654e4281eeea56fcb169f88ffd19)
Fixes #14796
Closes gh-1572
2014-05-07 23:22:24 +02:00
Michał Gołębiowski
6738117383
Core: Correct the number of expected tests
...
(cherry-picked from da148f158f
)
2014-05-02 16:04:46 +02:00
Liang Peng
7cf9ceaebc
Core: Remove repeated test
...
(cherry-picked from 69d4a48ff6
)
Closes gh-1570
2014-05-02 15:50:31 +02: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
Michał Gołębiowski
e848b46cfc
Css: Use only positive integers as values for widows/orphans
...
According to http://www.w3.org/TR/CSS2/page.html#propdef-orphans , widows
and orphans can take only positive integer values. Together with a Chrome 34
regression this caused the test to fail.
(cherry-picked from def4841cfa
)
Fixes #15016
Closes gh-1563
2014-04-18 16:24:18 +02:00
Oleg Gaidarenko
d89c278a33
Tests: Fix failing ajax tests in oldIE
2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
4d5596e3e4
Tests: Remove unused variables
2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
0837e41509
Tests: Copy some Sizzle combinators tests
2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
a4e83764f4
Tests: Add more tests for Sizzle attributes
2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
510c002ff7
Tests: Add test for selectors with commas
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
1c596165bc
Tests: Copy Sizzle.uniqueSort tests
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
10d92e3dce
Tests: Copy Sizzle.contains tests
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
6e4f75fea7
Tests: Move some of the Sizzle tests to selector
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
1c04178939
Tests: Improve jsonp tests
...
Since global variable for callback always would be equal to undefined value
it better to check for boolean instead
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
9cdaa75b86
Tests: Correct logic of a broken assertion
2014-04-15 17:46:25 +04:00