aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #11338, .replaceWith should work on detached nodes.Oleg2012-04-051-7/+7
|
* Fix 11528. Exclude link/html5 tags from innerHTML path on oldIE.cmcnulty2012-04-051-5/+7
|
* Fix #11325: smaller/stronger domManip/buildFragment/cleanRichard Gibson2012-04-041-119/+94
|
* Fix #11439. Remove use of undefined jQuery.support.parentNode.Robert Katic2012-04-041-11/+2
|
* Fix #8545. Plug event handling memory leak in oldIE.Oleg2012-04-041-11/+10
|
* Fixes #11264 or rather seriously limits the risk of global ajaxSettings ↵jaubourg2012-03-071-0/+2
| | | | screwing with script loading in domManip. Gotta love globals and sneaky dependencies. Unit test added.
* Guard against exceptions when clearing safeChildNodes.Rick Waldron waldron.rick@gmail.com2012-03-061-3/+7
| | | | Supplements #11356 and fixes unit test failures in FF 3.6.
* Fix #11323. Consistently use rscriptType in jQuery.clean()Rick Waldron waldron.rick@gmail.com2012-03-021-8/+8
|
* Fix #11356. Avoid hoarding elements in DocumentFragments.Rick Waldron2012-03-021-1/+14
|
* Fix #11359: preserve contents for cloned scriptsRichard Gibson2012-02-231-0/+4
|
* Fix whitespace mismatch introduced in bf7a4df22aRick Waldron waldron.rick@gmail.com2012-02-101-1/+1
|
* Fix #11291. Always clone XML docs with a genuine .cloneNode().Arne de Bree2012-02-091-3/+3
|
* Fix #10878. Clear oldIE special change/submit flags on a clone.Dave Methvin2012-01-281-0/+5
|
* Fix #11076. If .clone() won't delegate, we must remediate.Dave Methvin2012-01-281-1/+1
| | | | Since `jQuery.event.add` can accept a handleObj there's no need to reiterate them as args, but we *do* need to set the `selector` variable correctly.
* Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055Rick Waldron2012-01-111-1/+1
|
* Fix #10753. Inline evalScript as it's only used in one placeMike Sherov2011-12-081-17/+15
|
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-47/+39
|
* Fix #10812, let .before() and .after() work on empty collections.Dave Methvin2011-11-171-2/+2
|
* Refactor clone a bit to only create one clone on any given codepathtimmywil2011-11-081-6/+4
|
* Remove test of the invalid object for IE9's sake; Rewrite the appropriate ↵timmywil2011-11-081-1/+1
|\ | | | | | | support test for html5 clone caching. Fixes #10682
| * Fixes jQuery.fragments cache and adds tests. Fixes #10682Rick Waldron2011-11-051-1/+1
| |
* | Fix busted rnoshimcache. Correctly clone detached unknown elems. Fixes ↵Rick Waldron2011-11-071-11/+24
| | | | | | | | | | | | | | | | #10667, #10670. - \s => |, Removes 4 bytes from gzipped build - Adds tests for clone attributes, children and events
* | Fix #10177. Pass correct index to function-parameter of `.wrap`Toby Brain2011-11-061-2/+4
|/
* Cleanup spacing in manipulation.js. Fixes #10601Rick Waldron2011-10-271-4/+4
|
* Fixes gross indents.Rick Waldron2011-10-241-6/+6
|
* Landing pull request 550. IE6,7,8 cannot use cached fragments from unknown ↵timmywil2011-10-231-13/+17
| | | | | | | | elems. Fixes #10501. More Details: - https://github.com/jquery/jquery/pull/550 - http://bugs.jquery.com/ticket/10501
* Do not call getElements on a script tag. Avoids unnecessary execution. Fixes ↵timmywil2011-10-121-4/+6
| | | | #10176.
* Move createSafeFragment to the top to satisfy linttimmywil2011-09-281-17/+17
|
* Fixes a fail in unit/traversing. Use an iframe's document for creating the ↵timmywil2011-09-281-17/+25
| | | | html5 fragment when necessary.
* Allow more cases to use `innerHTML` in the `.html` method.Dave Methvin2011-09-211-1/+2
|\ | | | | | | Thanks @cmcnulty for the pull and the patience!
| * #6782 - optimized regex to allow more html snippets to user innerHTMLcmcnulty2011-02-251-1/+2
| |
* | Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. ↵Rick Waldron2011-09-191-1/+20
| | | | | | | | | | | | | | | | Fixes #6485. More Details: - https://github.com/jquery/jquery/pull/490 - http://bugs.jquery.com/ticket/6485
* | Landing pull request 500. 1.7 - "public data" stored as a key on "internal ↵Corey Frang2011-09-191-20/+21
| | | | | | | | | | | | | | | | data" - Fixes #8921. More Details: - https://github.com/jquery/jquery/pull/500 - http://bugs.jquery.com/ticket/8921
* | jQuery.clone() check that destination child nodes are not null. Fixes #9587rwldrn2011-06-151-2/+5
| |
* | elem.getElementsByTagName calls the function in IE6/7. Fixes #9370.timmywil2011-05-251-1/+1
| |
* | Landing pull request 389. Null elements in clone to avoid memory leak in IE. ↵Scott Hughes2011-05-251-0/+2
| | | | | | | | | | | | | | | | Fixes #9341. More Details: - https://github.com/jquery/jquery/pull/389 - http://bugs.jquery.com/ticket/9341
* | Landing pull request 365. jQuery.buildFragment, ensure doc is a document; ↵Rick Waldron2011-05-131-3/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | Fixes #8950. More Details: - https://github.com/jquery/jquery/pull/365 - http://bugs.jquery.com/ticket/8950
| * | jQuery.buildFragment, ensure doc is a document; Includes comments; Adds unit ↵Rick Waldron2011-04-301-4/+17
| | | | | | | | | | | | test. Fixes #8950
* | | Fixes #9221. Wraps openings of html comments and CDATA blocks found at the ↵jaubourg2011-05-111-2/+3
| | | | | | | | | | | | beginning of inserted script elements into a javascript block comment so that the new implementation of globalEval will not throw an exception in IE (execScript being less lenient than eval). Unit tests added.
* | | Fix problem with appending multiple string arguments in IE 6. Fixes #9072.John Resig2011-05-031-4/+4
|/ /
* | Landing pull request 332. Appending disconnected radio or checkbox inputs ↵timmywil2011-04-211-42/+71
| | | | | | | | | | | | | | | | | | 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
* | IE9's support for SVG elements unfortunately does not extend to ↵timmywil2011-04-131-2/+6
| | | | | | | | clearAttributes. Checks for its presence before proceeding.
* | JSLint failed due to function created within for looptimmywil2011-04-121-3/+6
| |
* | Merge branch 'master' of https://github.com/rjgotten/jquery into ↵John Resig2011-04-121-1/+6
|\ \ | | | | | | | | | | | | | | | | | | rjgotten-master. Also added in unit tests covering the case. Fixes #6180. Conflicts: src/manipulation.js
| * | Check against the type attribute of script elements retrieved through ↵rjgotten2010-10-171-16/+18
| | | | | | | | | | | | | | | | | | getElementsByTagName() so that only those elements of type "text/javascript" are handled by 'clean'. Fixes #6180: jQuery.clean should not touch script tags that are not of type text/javascript
* | | - Added a hook to swap display none for width and height in browsers that do ↵timmywil2011-04-031-1/+2
| | | | | | | | | | | | not sufficiently support get/setAttribute
* | | Make the new attr/prop changes pass the test suite (in Webkit). There are ↵timmywil2011-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still errors in IE. + Added hooks for selected, checked, readonly, disabled to removeAttr if set to falsey + Removed all attrs from attrFix, these aren't needed for setAttribute + If prop is used for class, do we want a propFix for class? - We could just assume the user should know to use className with prop. I've done the latter for now. + Created tests for $.fn.prop and $.fn.removeProp - Actually all I did was change broken attr tests to prop where it made sense.
* | | removing parensJordan Boesch2011-03-141-1/+1
| | |
* | | bug 6158; fixing replaceWith from throwing errors on non existant elementsJordan Boesch2011-03-051-4/+3
| | |
* | | bug 6158; fixing replaceWith from throwing errors on empty elementsJordan Boesch2011-03-051-0/+3
| |/ |/|