aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Landing pull request 332. Appending disconnected radio or checkbox inputs ↵timmywil2011-04-211-0/+8
| | | | | | | | | and keeping checked setting Fixes #8060, #8500. More Details: - https://github.com/jquery/jquery/pull/332 - http://bugs.jquery.com/ticket/8060 - http://bugs.jquery.com/ticket/8500
* Landing pull request [337](https://github.com/jquery/jquery/pull/337). Value ↵timmywil2011-04-211-0/+5
| | | | of radio inputs resets when type is set after the value in all IEs. Fixes #8570 ([bug](http://bugs.jquery.com/ticket/8570)).
* Remove unnecessary usage of Function.prototype.bind (#7783) but maintain ↵John Resig2011-04-171-4/+0
| | | | API. Also fix bug with proxy failing when a name is provided. Fixes #8893.
* Fixes #8635 again (fix was lost in rewrite). Also removes unnecessary ↵jaubourg2011-04-131-5/+2
| | | | "manual" garbage collection.
* Fixes unit/css.js test fail in Safari 5. support.js test was passing ↵timmywil2011-04-111-3/+6
| | | | erroneously due to the body to which the div was attached having a width of 0
* Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jqueryjeresig2011-04-101-2/+3
|\
| * Added back support.js test for getSetAttribute and removed some duplicate ↵timmywil2011-04-101-2/+3
| | | | | | | | code that crept into attributes.js
* | Merge branch 'proxy-native-bind' of https://github.com/gf3/jquery into ↵jeresig2011-04-101-0/+4
|\ \ | |/ |/| | | gf3-proxy-native-bind
| * Merge branch 'master' into proxy-native-bindGianni Chiappetta2011-01-211-23/+42
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (194 commits) Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This was causing problems with the focusin event, see: #7340. Replaces "text in-between" technique with a full-fledged one-level transitive search for converters (unit tests added). Also cleans up auto dataType determination and adds converter checks in order to guess the best dataType possible. Moves determineResponse logic into main ajax callback. Puts responseXXX fields definitions into ajaxSettings. Removes misleading comment. Bring jQuery('#id') and jQuery('body') logic back into core (while leaving it in Sizzle at the same time). Was causing too much of a performance hit to leave it all to Sizzle. Renames Deferred's fire and fireReject methods as resolveWith and rejectWith respectively. Fix typo in regex tweak from previous commit. Renames determineDataType as determineResponse. Makes it more generic as a first step into integrating the logic into the main ajax done callback. Also fixes some comments in ajax/xhr.js. Move jQuery(...) selector speed-up logic into Sizzle(...) qSA handling. Additionally add in a new catch for Sizzle('.class') (avoid using qSA and use getElementsByClassName instead, where applicable). Revises the way arguments are handled in ajax. Makes sure statusCode callbacks are ordered in the same way success and error callbacks are. Unit tests added. Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added). Rework unit tests to check actual result elements. Moves active counter test after all other ajax tests where it should be. Revised the Nokia support fallback. It turns out that Nokia supports the documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery error-free and return proper values for window width and height. Moves things around to make jsLint happier. Fixes crossDomain test so that it assumes port to be 80 for http and 443 for https when it is not provided. Moves determineDataType into ajaxSettings so that it is accessible to transports without the need for a second argument and so that we can now pass the original options to the transport instead. Also ensures the original options are actually propagated to prefilters (they were not). Re-adds hastily removed variable and simplifies statusCode based callbacks handling. Use undefined instead of 0 to deference transport for clarity. ... Conflicts: src/event.js
| * | Noted which browsers don't support Function#bind.Gianni Chiappetta2010-12-181-1/+1
| | |
| * | Added list of browsers that currently support Function#bind.Gianni Chiappetta2010-12-161-1/+2
| | |
| * | Add a quick test to $.support for native bind.Gianni Chiappetta2010-12-151-0/+3
| | | | | | | | | | | | As per the suggestion by ajpiano: https://github.com/gf3/jquery/commit/9f8cd6c499844451468257140e71f611abb3a040#commitcomment-218658
* | | Merge branch 'attrhooks.1.6'jeresig2011-04-101-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/core.js src/support.js
| * | | IE8 testing for lowercasing the css properties on retrieving style; had ↵timmywil2011-04-091-3/+3
| | | | | | | | | | | | | | | | assumed the style support check failed in IE8, which it now does
| * | | Full test suite now passes in all browsers! There are probably some tweaks ↵timmywil2011-04-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we can make to shorten and simplify. - removeAttr now only uses setAttribute if camelCase setAttribute is not supported + Might want to rename jQuery.support.getSetAttribute - tabIndex is a special case now for hooks where undefined should be returned. + Should we be checking if hooks returns undefined? undefined might be the desired return value in future hooks. As of now, tabIndex is the only one that needs it, but the test suite will still pass if we don't check if hooks are undefined.
| * | | Continuing IE7 testing, conditional attr fixes and hooks with feature ↵timmywil2011-04-031-1/+1
| | | | | | | | | | | | | | | | testing. Will figure out a way to shorten after the test suite passes.
| * | | Fix feature test, accidentally got rid of closure endtimmywil2011-04-031-1/+1
| | | |
| * | | First proposed solution for IE6/7 get/setAttribute quirks. Needs more ↵timmywil2011-04-031-1/+4
| | | | | | | | | | | | | | | | testing, but solves some issues
* | | | Adds a default falsy value for focusinBubbles + minor style consistency ↵jaubourg2011-04-081-1/+2
| | | | | | | | | | | | | | | | regarding test expression in support map initialization.
* | | | Applies exception in Style Guidelines regarding objects and functions when ↵jaubourg2011-04-081-1/+1
| | | | | | | | | | | | | | | | they are the last argument of a function call.
* | | | Rewrite of the support module. We use a temporary body element in order not ↵jaubourg2011-04-071-151/+142
|/ / / | | | | | | | | | to have to wait for the document to be ready for boxModel-related support tests.
* | | Fixes #8203. Remove some misguided nulling of elements done in the name of ↵Dave Methvin2011-03-301-7/+3
| | | | | | | | | | | | IE memory cleanup. Based on a patch by davidmurdoch in pull 226.
* | | Bug #8635 Firefox uncaught exceptionrwldrn2011-03-281-1/+1
| | |
* | | Added css hook to work around bug in WebKit computed margin-right. Fixes ↵Richard Worth2011-03-241-1/+13
| | | | | | | | | | | | #3333 - .css("marginRight") is incorrect in WebKit
* | | Make a new jQuery.support.noCloneChecked - splitting apart the previous ↵jeresig2011-02-231-2/+7
| | | | | | | | | | | | feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365.
* | | Remove unnecessary "script.type = text/javascript;". Fixes #8198.David Murdoch2011-02-121-1/+0
| | | | | | | | | | | | Follow up to 462bb1f66abf239492ee33c60feee3402fe64f77.
* | | Unexpose $.support._scriptEval as it's not needed. Use a private var ↵David Murdoch2011-02-121-5/+5
| | | | | | | | | | | | instead. Fixes #8200.
* | | Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes ↵Colin Snover2011-02-071-1/+1
| | | | | | | | | | | | #8052. 1.5-stable
* | | Don't do body-related feature tests on frameset docs that have no body. ↵Dave Methvin2011-01-211-4/+10
| |/ |/| | | | | Fixes #7398.
* | Add another tweak for handling CSP - we need to make sure that we don't ↵John Resig2011-01-181-1/+10
| | | | | | | | trigger any eval on load (not sure if it's the best tweak, definitely not ideal). Add a test page as well so that it's easier to catch problem.
* | Defer scriptEval test until first use to prevent Content Security Policy ↵Brandon Sterne2011-01-171-23/+33
| | | | | | | | inline-script violations from occuring. Fixes #7371.
* | Fix reliableHiddenOffsets test was not working properly when table cells ↵Colin Snover2010-12-261-1/+1
|/ | | | have borders, causing unnecessary slowness in some browsers. Thanks to matjas for his $.support test page.
* Moved jQuery.props to attributes since it was only used in support. Fixes ↵Alex Sexton2010-10-251-14/+0
| | | | #6897 - suggestion by dmethvin
* We removed deleteExpando after 1.4.2, for some reason. This caused problems ↵John Resig2010-10-171-0/+10
| | | | with removeData() (no arguments). Fixes #7209.
* Fixed code convention issues. Reduced size of overflow reset code. Fixed ↵Colin Snover2010-10-081-10/+10
| | | | broken show() test cases.
* IE6 will shrink-wrap elements with layout instead of allowing content to ↵Colin Snover2010-10-051-21/+36
| | | | flow outside of the border-box. Add a test for this and do not remove the overflow property after an animation in IE6.
* Update $.fn.animate to change display mode only when necessary (inline, ↵Colin Snover2010-10-051-0/+12
| | | | non-floated elements), and to use a more proper display mode for those elements. Fixes #2185.
* Fix :visible does not work properly when display:none is set directly on an ↵Colin Snover2010-10-051-1/+14
| | | | element in IE8. Fixes #4512.
* Some minor cleanup of the last commit.jeresig2010-09-271-4/+3
|
* Add a feature test for options inside a disabled select. Follow-up to ↵jeresig2010-09-271-1/+10
| | | | 157a383dae5335ef1056d3818d7dd70ac81c25a7.
* Fix trailing arg.John Resig2010-09-171-1/+1
|
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-1/+5
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-1/+1
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).
* Landing a faster trim method. Based upon the work by Travis Hardiman and ↵jeresig2010-03-091-14/+1
| | | | DBJDBJ. More details here: http://forum.jquery.com/topic/faster-jquery-trim Fixes #2279, #4452, and #4835.
* More changes to get jQuery in line with JSLint.jeresig2010-03-011-2/+2
|
* Found a better detect for deleting an expando, added back in removeAttribute ↵jeresig2010-02-131-10/+9
| | | | as it does work in IE.
* Clean up expando removal code - only try to delete the expando from an ↵jeresig2010-02-131-0/+12
| | | | element if it's possible.
* Make sure that we don't try to use a detached node (that was in a fragment) ↵jeresig2010-02-131-0/+2
| | | | as a fragment in IE. Fixes #5829.
* Make sure that checked state is cloned properly. Based upon the patch by ↵Michael Monteleone2010-01-251-1/+10
| | | | Michael, required better test cases and in doing so found more edge cases. Introduced a new check into jQuery.support as a result. Fixes #5929.
* Make a feature detect for the attribute selected code. Fixes #5702.jeresig2009-12-221-1/+5
|