aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* CSS: Do not throw on frame elements in FFOleg Gaidarenko2014-06-161-0/+23
| | | | | | | | | | | | | 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 e488d985cfb10ab8c684bbc6a9b8ff3eae23bf83
* Tests: Clean up isNumeric testsRichard Gibson2014-06-071-47/+42
|
* Core: Work around loss of precision from parseFloatRichard Gibson2014-06-071-1/+2
| | | | Fixes #15100
* Ajax: Support usage without jQuery.eventTJ VanToll2014-06-021-0/+16
| | | | | Fixes #15118 Closes gh-1588
* Selector: Use jQuery reference not SizzleOleg Gaidarenko2014-05-291-2/+6
| | | | (Cherry-picked from 3b9057a18de31b838bd0dd25ea466993b62f9dd9)
* Selector: Fix test iframe submission for firefoxOleg Gaidarenko2014-05-291-9/+5
| | | | | Ref jquery/sizzle@20fbadb0870bd30e0e66c68891f121c0450374c4 (Cherry-picked from efc4f8d7814a8c44bd5b4d924d237a04263e1a85)
* Ajax, Manipulation: don't test cross-document manip in Android 2.3Michał Gołębiowski2014-05-072-2/+23
| | | | | | | (cherry-picked from 213b9604f3da654e4281eeea56fcb169f88ffd19) Fixes #14796 Closes gh-1572
* Core: Correct the number of expected testsMichał Gołębiowski2014-05-021-1/+1
| | | | (cherry-picked from da148f158f40b474841ad7a60cc39c5868cf420c)
* Core: Remove repeated testLiang Peng2014-05-021-1/+0
| | | | | | (cherry-picked from 69d4a48ff67188214bc28ec1a4d138c5997ce171) Closes gh-1570
* Data: Work around IE11 bug with onpageshow attributeDave Methvin2014-04-301-0/+6
| | | | | | | | | Fixes #14894 (cherry picked from commit b8133e282ceebf502c7c08d849b176a929c9c450) Conflicts: src/data.js test/unit/data.js
* Effects: Respect display value on inline elementsOleg Gaidarenko2014-04-301-0/+24
| | | | | | | | | | | | Take "olddisplay" value into the account Fixes #14824 Closes gh-1566 Ref 73fe17299a840a8a7f3ffffcac15e32a88bd3d66 (cherry-picked from c34dbf5a8d135e0f873ab7a76d1c8f8e316f31e4) Conflicts: src/effects.js
* Css: Use only positive integers as values for widows/orphansMichał Gołębiowski2014-04-181-8/+1
| | | | | | | | | | | 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 def4841cfaf68e2ec156c554f8efa4aa64203f36) Fixes #15016 Closes gh-1563
* Tests: Fix failing ajax tests in oldIEOleg Gaidarenko2014-04-152-10/+14
|
* Tests: Remove unused variablesOleg Gaidarenko2014-04-151-2/+2
|
* Tests: Copy some Sizzle combinators testsOleg Gaidarenko2014-04-151-0/+41
|
* Tests: Add more tests for Sizzle attributesOleg Gaidarenko2014-04-151-3/+89
|
* Tests: Add test for selectors with commasOleg Gaidarenko2014-04-151-0/+12
|
* Tests: Copy Sizzle.uniqueSort testsOleg Gaidarenko2014-04-151-0/+79
|
* Tests: Copy Sizzle.contains testsOleg Gaidarenko2014-04-151-0/+26
|
* Tests: Move some of the Sizzle tests to selectorOleg Gaidarenko2014-04-151-0/+93
|
* Tests: Improve jsonp testsOleg Gaidarenko2014-04-151-2/+2
| | | | | Since global variable for callback always would be equal to undefined value it better to check for boolean instead
* Tests: Correct logic of a broken assertionOleg Gaidarenko2014-04-151-2/+3
|
* Support: Add Android support tests resultsMichał Gołębiowski2014-03-311-0/+74
|
* Css: change boxSizingReliable in IE<9.Michał Gołębiowski2014-03-211-3/+3
| | | | | | | | 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
* Effects: Don't overwrite display:none when .hide()ing hidden elementsRichard Gibson2014-03-201-0/+13
| | | | | | | | | Fixes #14848 Closes gh-1548 (cherry picked from commit 890d441aa5d319e49951ba6f0ec719cd4cb96759) Conflicts: src/effects.js
* CSS: jQuery#hide should always save display valueOleg Gaidarenko2014-03-201-0/+10
| | | | | | | | | Fixes #14750 Closes gh-1509 (cherry picked from commit 5a8f76933288396b915800a18240aa17d3414201) Conflicts: src/css.js
* Attributes: Trim whitespace from option text when returned as a valueJohn Hoven2014-03-201-0/+13
| | | | | | Fixes #14858 Ref #14686 Closes gh-1531
* Event: Don't test stopImmediatePropagation in Android 2.3Michał Gołębiowski2014-03-181-2/+5
| | | | | Android 2.3 doesn't support stopImmediatePropagation; jQuery fallbacks to stopPropagation in such a case.
* Core: Blacklist the ready test on async-loaded jQuery in iOS7Michał Gołębiowski2014-03-171-4/+9
| | | | | | (cherry-picked from 551578eb3676f67cccd8a91a582c2225bc970cac) Fixes #14882
* Event: Unit test for #14741 fixDave Methvin2014-03-161-0/+14
| | | | | | Fixes #14741 Closes gh-1503 (cherry picked from commit 472f70a9df75c289393d6618c36257a04f9cb902)
* Event: Call underlying stopImmediatePropagation when presentDave Methvin2014-03-121-2/+17
| | | | | Fixes #13997 (cherry picked from commit 6a89db86ed817f6a7498076e2a06b90f9fce0831)
* Core: Add test for jQuery.ready.promise fallback loadMichał Gołębiowski2014-03-131-0/+5
| | | | | | Fix #13655 Close gh-1209 Ref 32b066d3805a48f8c8312562ed52a1b5910b1d85
* Support: Make the support matrix for iOS 6 match iOS 7 as wellMichał Gołębiowski2014-03-131-1/+1
| | | | (cherry-picked from 26ce21786252981563e49e91a85b3e0bfa16c3e3)
* Css: Fix testsMichał Gołębiowski2014-03-101-6/+9
| | | | | | | | | It's not easy to find a CSS property that is implemented even in ancient browsers and that returns a consistent result among browsers when passed through .css(). color didn't work since Firefox normalizes it an empty value to rgb(0, 0, 0). (cherry-picked from 0c12cb3910c446960a274fb0eab11b8830bed71f)
* Support: Simplify the box-sizing testMichał Gołębiowski2014-03-101-5/+0
| | | | Don't require body in the support.boxSizing test.
* Css: Revert 24e587929f62428e1959b10aace6dc4fd65ab397Michał Gołębiowski2014-03-101-7/+20
| | | | | | | | | | | | | | 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 10e654218a65ec9a0ffc875137cea945389c69f1) Fixes #14836 Closes gh-1532
* Ajax, Effects: Disable Chrome 31 workaroundsMichał Gołębiowski2014-03-102-30/+11
|
* Core: Do not run window.onready when readyDave Methvin2014-03-041-0/+7
| | | | | Fixes #14802 (cherry picked from commit 2df1aad6a1c9376c2a477eba26ee992113ed1c23)
* CSS: Return values should be numbersDave Methvin2014-03-041-1/+2
| | | | | Fixes #14792 (cherry picked from commit f4b37d89820535d6c7503925aa8872645681a865)
* Event: Allow triggerHandler(beforeunload)Dave Methvin2014-03-041-0/+5
| | | | | | | | Fixes #14791 (cherry picked from commit 06adf7c95d93507908181995a9ea15fe2729595a) Conflicts: src/event.js
* Ajax: .load() should trim its selectorDave Methvin2014-03-041-0/+8
| | | | | | | | Fixes #14773 (cherry picked from commit 3a68c114e3a30af86dc261c9d62ce2ae4144d420) Conflicts: src/ajax/load.js
* Core: Arrays like [42] should fail .isNumeric()Dave Methvin2014-03-041-1/+3
| | | | | Fixes #14179 (cherry picked from commit 10efa1f5b44046aab6bcc8423322a41923faa290)
* Effects: Don't check fill-opacity in Android 2.3, it's not supportedMichał Gołębiowski2014-02-131-1/+6
| | | | (cherry-picked from 70ac4485f30633074696fa28ca29b0325459f228)
* Event: Blacklist the onbeforeunload test in Android 2.3Michał Gołębiowski2014-02-131-3/+4
| | | | | | | Similarly to iOS, Android 2.3 has the onbeforeunload property on window but doesn't support the event. This commit blacklists the test there as well. (cherry-picked from 6d2ab64df7bdda087e79deaa53db969fa6f2cd92)
* Css: Don't check fill-opacity in Android 2.3, it's not supportedMichał Gołębiowski2014-02-131-1/+6
| | | | (cherry-picked from de75b3cc626829c3478a8a6d59dddc948d348b41)
* Docs: Add support comments for prefixed box-sizingMichał Gołębiowski2014-02-052-0/+2
|
* Build: Upgrade QUnit to 1.14.0Michał Gołębiowski2014-02-054-18/+18
| | | | (cherry-picked from 95b21c6ec2790d0d051cdfe95d73148d7c385d68)
* Support: Add iOS6 support tests resultsMichał Gołębiowski2014-01-271-0/+37
|
* Tests: Blacklist beforeunload test in iOSMichał Gołębiowski2014-01-271-1/+4
| | | | | | | | | | iOS has the window.onbeforeunload field but doesn't support the beforeunload handler making it impossible to feature-detect the support. (cherry-picked from 988d99ad278c2c9dc16c68f86bddc4df99dcd928) Fixes #14717 Closes gh-1496
* Manipulation: Use textarea for missing IE defaultValue checkDave Methvin2014-01-231-1/+1
| | | | | | | | | | 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