aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix 10558. Get the right element for checkClone; thanks zhengzongyi!Dave Methvin2011-10-241-1/+1
|
* Support setting both the enctype attribute and property (encoding in IE6/7). ↵timmywil2011-10-221-0/+3
| | | | Fixes #6743.
* Leave the opacity test unanchored in case of floating point rounding browser ↵timmywil2011-10-111-1/+1
| | | | errors; small fix in queue tests. Fixes #5145.
* updated Juriy Zaytsev's detecting event support technique link in support.jsShi Chuan2011-10-041-1/+1
|
* Fixes IE7 test suite. Keep the testElement attached and set necessary styles ↵timmywil2011-09-281-3/+6
| | | | on it to fix the offset with margin test.
* Landing pull request 509. Add a comment explaining the use of ↵Mathias Bynens2011-09-201-4/+8
| | | | | | | document.getElementsByTagName('body')[0] instead of document.body. More Details: - https://github.com/jquery/jquery/pull/509
* semicolon for jshint happinesstimmywil2011-09-191-1/+1
|
* Landing pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809.Rick Waldron2011-09-191-1/+45
| | | | | | More Details: - https://github.com/jquery/jquery/pull/477 - http://bugs.jquery.com/ticket/6809
* Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. ↵Rick Waldron2011-09-191-1/+4
| | | | | | | | Fixes #6485. More Details: - https://github.com/jquery/jquery/pull/490 - http://bugs.jquery.com/ticket/6485
* Reverts broken support string. Fixes #10197rwldrn2011-09-071-1/+1
|
* Landing pull request 478. Apply fixes as noted by Diego Perini, David ↵Rick Waldron2011-09-011-4/+5
| | | | | | | | Murdoch & Mathias Bynens. Supplements #9634 Fixes #9634. More Details: - https://github.com/jquery/jquery/pull/478 - http://bugs.jquery.com/ticket/9634
* Add back the background: none setting to avoid any possible crashes in IE ↵timmywil2011-08-041-1/+2
| | | | from the support testElement. Fixes #9823.
* Non-breaking-space should achieve the same effect as a visible character. ↵Rick Waldron2011-07-251-1/+1
| | | | Fixes #9634
* Landing pull request 401. Nulling all elements created in support.js; Fixes ↵rwldrn2011-06-061-1/+1
| | | | | | | | #9471. More Details: - https://github.com/jquery/jquery/pull/401 - http://bugs.jquery.com/ticket/9471
* detachEvent is unnecessary since we're nulling div. Fixes #8873.timmywil2011-05-251-2/+1
|
* Null created elements in support to avoid leaks in IE. Tested IE6-8. Leaks ↵timmywil2011-05-251-0/+3
| | | | are contained to the byte. Fixes #9294.
* Remove unnecessary background setting in support now that we have the div ↵timmywil2011-05-251-3/+1
| | | | reversion. Test added.
* Fixes #9239. If the body is already present in the DOM, use a div within it ↵jaubourg2011-05-131-10/+22
| | | | to perform boxModel-related support tests. Unit test added.
* Landing pull request 370. Fixes #8763.Sahab Yazdani2011-05-101-1/+1
| | | | | | More Details: - https://github.com/jquery/jquery/pull/370 - https://github.com/jquery/jquery/issues/8763
* Fixes #9109. When jQuery is loaded in the body, then the fake body element ↵jaubourg2011-05-091-2/+3
| | | | used in support has to be inserted before the document's body for boxModel to be properly detected (got the hint by looking at the code in jQuery mobile). Test page added so that we can keep checking this.
* Set background to none on our mock body and remove its contents to avoid a ↵timmywil2011-05-021-1/+4
| | | | crash in IE when removing it. Fixes #9028.
* jQuery.support core style guide correction. Fixes #8978Rick Waldron2011-04-261-1/+1
|
* Combine the support tests for radioValue and appendCheckedtimmywil2011-04-221-10/+8
|
* 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.