Richard Gibson
22ad8723ce
Fix #11325 : smaller/stronger domManip/buildFragment/clean
2012-04-04 23:03:34 -04:00
Robert Katic
077fd7ed6f
Fix #11439 . Remove use of undefined jQuery.support.parentNode.
2012-04-04 21:57:48 -04:00
Oleg
203a168980
Fix #8545 . Plug event handling memory leak in oldIE.
2012-04-04 21:38:46 -04:00
jaubourg
d3fad51cad
Fixes #11264 or rather seriously limits the risk of global ajaxSettings screwing with script loading in domManip. Gotta love globals and sneaky dependencies. Unit test added.
2012-03-07 16:54:05 +01:00
Rick Waldron waldron.rick@gmail.com
619f0d908a
Guard against exceptions when clearing safeChildNodes.
...
Supplements #11356 and fixes unit test failures in FF 3.6.
2012-03-06 12:54:51 -05:00
Rick Waldron waldron.rick@gmail.com
f0732c1e41
Fix #11323 . Consistently use rscriptType in jQuery.clean()
2012-03-02 13:13:43 -05:00
Rick Waldron
1ff284d2cd
Fix #11356 . Avoid hoarding elements in DocumentFragments.
2012-03-02 12:03:32 -05:00
Richard Gibson
dec2804c78
Fix #11359 : preserve contents for cloned scripts
2012-02-23 23:09:31 -05:00
Rick Waldron waldron.rick@gmail.com
8db3fb13a5
Fix whitespace mismatch introduced in bf7a4df22a
2012-02-10 16:17:12 -05:00
Arne de Bree
bf7a4df22a
Fix #11291 . Always clone XML docs with a genuine .cloneNode().
2012-02-09 20:48:21 -05:00
Dave Methvin
c746f79cc0
Fix #10878 . Clear oldIE special change/submit flags on a clone.
2012-01-28 16:46:52 -05:00
Dave Methvin
633ca9c161
Fix #11076 . If .clone() won't delegate, we must remediate.
...
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.
2012-01-28 16:30:35 -05:00
Rick Waldron
d07116a952
Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055
2012-01-11 22:16:30 -05:00
Mike Sherov
07866a04dd
Fix #10753 . Inline evalScript as it's only used in one place
2011-12-08 21:27:05 -05:00
Richard Gibson
6c2a501de4
Fix #5571 . Setters should treat undefined
as a no-op and be chainable.
2011-12-06 15:25:38 -05:00
Dave Methvin
dd845a2c0f
Fix #10812 , let .before() and .after() work on empty collections.
2011-11-17 11:47:56 -05:00
timmywil
f0e43fad37
Refactor clone a bit to only create one clone on any given codepath
2011-11-08 09:48:57 -05:00
timmywil
41b31d7386
Remove test of the invalid object for IE9's sake; Rewrite the appropriate support test for html5 clone caching. Fixes #10682
2011-11-08 00:05:33 -05:00
Rick Waldron
66e65c8168
Fix busted rnoshimcache. Correctly clone detached unknown elems. Fixes #10667 , #10670 .
...
- \s => |, Removes 4 bytes from gzipped build
- Adds tests for clone attributes, children and events
2011-11-07 21:22:04 -05:00
Toby Brain
47c605f693
Fix #10177 . Pass correct index to function-parameter of .wrap
2011-11-06 16:59:41 -05:00
Rick Waldron
92c8404012
Fixes jQuery.fragments cache and adds tests. Fixes #10682
2011-11-05 23:06:53 -04:00
Rick Waldron
0804cdfe9a
Cleanup spacing in manipulation.js. Fixes #10601
2011-10-27 15:32:49 -04:00
Rick Waldron
7347007645
Fixes gross indents.
2011-10-24 09:27:16 -04:00
timmywil
f3a4d261ec
Landing pull request 550. IE6,7,8 cannot use cached fragments from unknown elems. Fixes #10501 .
...
More Details:
- https://github.com/jquery/jquery/pull/550
- http://bugs.jquery.com/ticket/10501
2011-10-23 16:08:10 -04:00
timmywil
3ad0ba62f0
Do not call getElements on a script tag. Avoids unnecessary execution. Fixes #10176 .
2011-10-12 00:06:54 -04:00
timmywil
a74cbb2b91
Move createSafeFragment to the top to satisfy lint
2011-09-28 11:39:05 -04:00
timmywil
649823de18
Fixes a fail in unit/traversing. Use an iframe's document for creating the html5 fragment when necessary.
2011-09-28 10:06:29 -04:00
Dave Methvin
d638aa9c6d
Allow more cases to use innerHTML
in the .html
method.
...
Thanks @cmcnulty for the pull and the patience!
2011-09-21 23:05:26 -04:00
Rick Waldron
9ecdb2472b
Landing pull request 490. 1.7 HTML5 Support for innerHTML, clone & style. Fixes #6485 .
...
More Details:
- https://github.com/jquery/jquery/pull/490
- http://bugs.jquery.com/ticket/6485
2011-09-19 16:42:36 -04:00
Corey Frang
d5f144a7bb
Landing pull request 500. 1.7 - "public data" stored as a key on "internal data" - Fixes #8921 .
...
More Details:
- https://github.com/jquery/jquery/pull/500
- http://bugs.jquery.com/ticket/8921
2011-09-19 16:13:14 -04:00
rwldrn
5c3b9e0c24
jQuery.clone() check that destination child nodes are not null. Fixes #9587
2011-06-15 11:14:52 -04:00
timmywil
1d1cb582c0
elem.getElementsByTagName calls the function in IE6/7. Fixes #9370 .
2011-05-25 19:35:52 -04:00
Scott Hughes
287156197f
Landing pull request 389. Null elements in clone to avoid memory leak in IE. Fixes #9341 .
...
More Details:
- https://github.com/jquery/jquery/pull/389
- http://bugs.jquery.com/ticket/9341
2011-05-25 15:18:13 -04:00
Rick Waldron
ec829431fe
Landing pull request 365. jQuery.buildFragment, ensure doc is a document; Fixes #8950 .
...
More Details:
- https://github.com/jquery/jquery/pull/365
- http://bugs.jquery.com/ticket/8950
2011-05-13 12:26:17 -04:00
jaubourg
391398cf23
Fixes #9221 . Wraps openings of html comments and CDATA blocks found at the 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.
2011-05-11 14:13:07 +02:00
John Resig
bfad45fe45
Fix problem with appending multiple string arguments in IE 6. Fixes #9072 .
2011-05-03 15:02:26 -04:00
Rick Waldron
0c2d1aee54
jQuery.buildFragment, ensure doc is a document; Includes comments; Adds unit test. Fixes #8950
2011-04-30 10:42:36 -04:00
timmywil
d274b7b9f7
Landing pull request 332. Appending disconnected radio or checkbox inputs 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
2011-04-21 21:51:23 -04:00
timmywil
ca5bc202ac
IE9's support for SVG elements unfortunately does not extend to clearAttributes. Checks for its presence before proceeding.
2011-04-13 23:45:58 -04:00
timmywil
73f9ab6705
JSLint failed due to function created within for loop
2011-04-12 18:30:21 -04:00
John Resig
3418f32387
Merge branch 'master' of https://github.com/rjgotten/jquery into rjgotten-master. Also added in unit tests covering the case. Fixes #6180 .
...
Conflicts:
src/manipulation.js
2011-04-12 16:39:30 -04:00
timmywil
5fc2281fcc
- Added a hook to swap display none for width and height in browsers that do not sufficiently support get/setAttribute
2011-04-03 19:13:41 -04:00
timmywil
de79e8c7e0
Make the new attr/prop changes pass the test suite (in Webkit). There are 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.
2011-04-03 19:13:38 -04:00
Jordan Boesch
124acbfbc5
removing parens
2011-03-14 14:17:02 -06:00
Jordan Boesch
c9ef09c800
bug 6158; fixing replaceWith from throwing errors on non existant elements
2011-03-05 09:46:12 -06:00
Jordan Boesch
5c2d70979c
bug 6158; fixing replaceWith from throwing errors on empty elements
2011-03-05 09:30:29 -06:00
cmcnulty
00a05ad985
#6782 - optimized regex to allow more html snippets to user innerHTML
2011-02-25 11:40:05 -08:00
jeresig
292acd97a2
Make a new jQuery.support.noCloneChecked - splitting apart the previous feature detect relating to clone in IE, fixes the last remaining issue with IE 9 RC. Fixes #8365 .
2011-02-23 13:18:44 -05:00
Anton M
78fc79fad4
Make sure .clone(true) correctly clones namespaced events. Fixes #4537 .
2011-02-10 22:20:48 +01:00
Anton M
4490f4285c
Fix some whitespace issues. Improve and correct an events test.
2011-02-10 22:20:47 +01:00