Commit graph

690 commits

Author SHA1 Message Date
jeresig 8fb4d9af74 We want to make sure that we only run the MSIE-specific filter tests if opacity is explicitly not supported. 2010-10-13 00:42:05 -04:00
jeresig 73e4ef27f0 Test CSS test on font size instead of padding. 2010-10-13 00:32:52 -04:00
jeresig 9ede46b004 IE 9 preserves the case of the Alpha filter - maintain it in the test as well. 2010-10-13 00:10:32 -04:00
jeresig ec462a33af Fix broken Ajax test after recent revert to jQuery.ajax namespace. 2010-10-13 00:07:52 -04:00
John Resig 2ef8da0924 Merge branch 'bug7150' of http://github.com/csnover/jquery 2010-10-12 21:51:44 -04:00
John Resig 783bb2a85f Fix some gaps in the handling of event data properties. Thanks to @jitter in ff6ceadbfd for the catches. 2010-10-12 20:56:46 -04:00
Colin Snover 1518ae1aed Fix patch for #7150, which was not deleting the events object properly on plain JS objects. Thanks to jitter for catching it. 2010-10-12 18:49:37 -05:00
John Resig 085de84959 The child selector-prefix branch doesn't work with selectors that have a larger depth. Removing for now - will need to re-evaluate in the future. 2010-10-12 10:13:00 -04:00
John Resig 5200194f51 Make sure that .find() with multiple direct child selectors is handled correctly. Fixes #7144. 2010-10-12 09:19:49 -04:00
Colin Snover ff6ceadbfd Use a key name less likely to result in collisions for events on plain JS objects. Fixes bug #7150. 2010-10-11 23:35:18 -05:00
John Resig 1df5084c97 Handle some edge cases with binding events to the window object (which is also a plain object - causing some confusion). Fixes #7143. 2010-10-11 18:20:57 -04:00
John Resig c00a6ff1f1 Add some resize event tests. 2010-10-11 18:03:54 -04:00
John Resig 1dee0d2ed8 Added some more tests relating to attaching data to a window. 2010-10-11 17:52:00 -04:00
John Resig 5f30ae3b6f Merge branch 'bug7141' of http://github.com/csnover/jquery into csnover-bug7141 2010-10-11 16:40:10 -04:00
Colin Snover 5646a4feee Fix olddisplay was inappropriately set when calling hide on an already hidden element. Fixes #7141. 2010-10-11 15:22:43 -05:00
Scott González 22ccbf82c8 Fixed getting styles from disconnected nodes. Fixes #7148. 2010-10-11 15:11:03 -04:00
John Resig 385ca2aa89 Make sure closest works on disconnected DOM nodes. Fixes #7142. 2010-10-11 07:45:15 -04:00
jeresig 26db3f0933 Disable 304/Not Modified Ajax tests in Opera due to lack of suitable workaround. See: http://gist.github.com/599419 2010-10-10 18:46:32 -04:00
John Resig 4a0759dc79 Merge branch 'bug7123' of http://github.com/csnover/jquery into csnover-bug7123 2010-10-09 16:27:59 -04:00
John Resig b0dcc1746f Merge branch 'animate-nonblock' of http://github.com/csnover/jquery into csnover-animate-nonblock 2010-10-09 16:21:02 -04:00
jeresig 51283d9643 Added some more tests to make sure that replaceWith is working correctly. Follow-up to the comment on 2a6de9ab66. 2010-10-09 11:41:58 -04:00
jeresig 2ae872c594 Make sure null/NaN values aren't set in .css(). Fixes #7116. 2010-10-09 10:52:53 -04:00
Colin Snover 2ca3659895 Prevent IE from throwing errors when setting RGBA values. Fixes #5509. 2010-10-09 10:42:01 -04:00
Colin Snover b03416954d Coerce all array values to strings before comparison in val(). Fixes bug #7123. 2010-10-08 22:48:06 -05:00
Colin Snover 543db64412 Fixed code convention issues. Reduced size of overflow reset code. Fixed broken show() test cases. 2010-10-08 20:29:41 -05:00
Colin Snover 91028794d5 Update $.fn.animate to only keep overflow set to hidden after an animation in IE6 when it is needed (width/height change) and update unit tests to reflect when overflow does not get reset. 2010-10-05 15:20:44 -05:00
Colin Snover 5057ff9f43 IE6 will shrink-wrap elements with layout instead of allowing content to flow outside of the border-box. Add a test for this and do not remove the overflow property after an animation in IE6. 2010-10-05 14:53:35 -05:00
Colin Snover 0cdcef5b36 Update $.fn.animate to change display mode only when necessary (inline, non-floated elements), and to use a more proper display mode for those elements. Fixes #2185. 2010-10-05 13:28:43 -05:00
Colin Snover 0229b83f7e Fix :visible does not work properly when display:none is set directly on an element in IE8. Fixes #4512. 2010-10-05 13:23:10 -05:00
John Resig 57c046f91c Tweak broken serialize tests from commit 879799fe95. Thanks to @jaubourg for the catch. 2010-09-30 15:40:30 -07:00
Colin Snover 06c505d851 Make sure setting opacity does not clobber other inline filters. Fixes #7101. 2010-09-30 11:24:59 -07:00
Dave Reed cb811c04b0 Using data() on JavaScript objects sets fields directly on the object. Note that events are now a property of a function (to avoid JSON serialization - and only in the case of JavaScript objects, not DOM nodes). Fixes #6807. 2010-09-29 06:46:25 -07:00
John Resig 49f6f34181 Fix number of expected select tests from commit 879799fe95. Thanks to @jitter for the catch. 2010-09-29 05:41:27 -07:00
John Resig f1f6bc3ec4 Handle child selectors in particular - away from the selector engine. Fixes #7029. 2010-09-28 10:33:21 -07:00
John Resig 0368606c08 Make sure that the contents of the element is still in place when html(Function) is called. Fixes #6733. 2010-09-28 09:50:44 -07:00
John Resig 9190d4fd60 Make sure that mixed case alpha filters are handled correctly in IE. Fixes #5632. 2010-09-28 08:57:20 -07:00
John Resig 558d96b42a Make setting .css(name, undefined) a no-op. Fixes #4388. 2010-09-28 08:53:09 -07:00
John Resig 879799fe95 Make sure that ambiguous val() selection works correctly. 2010-09-28 08:36:28 -07:00
John Resig c7c0677230 Make .attr(name, null) equivalent to removeAttr(name). (Was roughly this before - but is now consistent across platforms). Fixes #6341. 2010-09-28 11:12:13 -04:00
John Resig cf672a2e7a Make sure that .offset() doesn't fail against disconnected DOM nodes. Fixes #4996. 2010-09-28 10:55:48 -04:00
jeresig 7be11207b9 Removing unique check on closest(Array) (it wasn't appropriate there and broke functionality elsewhere) - follow-up to commit 8c41325a08. Also added another test for closest(Array) after a discussion with @jitter in 26b0e913dd. 2010-09-27 20:59:42 -04:00
jeresig 8c41325a08 Merge branch 'closestbug-6700' of http://github.com/ajpiano/jquery into ajpiano-closestbug-6700 2010-09-27 15:45:02 -04:00
jeresig ea6a4813b7 Allow 304/Not Modified tests to complete in Opera. 2010-09-27 12:10:00 -04:00
jeresig 0be7f4eb4f Make sure that opacity is being reset properly on a show animation. Additionally expose jQuery.isNaN from the data module. 2010-09-27 11:51:01 -04:00
jeresig 88fc523c59 Adjust manipulation test to handle whitespace RegExp issue in older WebKits. Fixes #7082. 2010-09-27 10:28:35 -04:00
John Resig 42aa714fb7 Removing the old cow image from the effects tests - it's no longer needed. Fixes #7086. 2010-09-26 20:47:19 -04:00
dmethvin 0636dffc24 Make .val(undefined) == .val("") and chainable; fixes #4130.
Ensure .val(null) sets an empty string on IE6/7; fixes #5163.
2010-09-25 05:57:14 +08:00
Dave Methvin 2c4b20809e Don't have .val() return selected-but-disabled options, or selected options inside a disabled optgroup. Doesn't change the .val() returned for a disabled select. Fixes #3240, adapted from Nathan Hammond's patch there. 2010-09-24 17:26:22 -04:00
temp01 7862c45ad2 Serialize keys with empty arrays/object values in jQuery.param(). Fixes #6481. 2010-09-24 16:57:25 -04:00
jeresig 515efbdc71 Make sure that undefined is always returned for missing data properties. Follow-up to #6304. 2010-09-24 16:30:57 -04:00