Commit Graph

3175 Commits

Author SHA1 Message Date
Dave Methvin
37e8b44884 Add back a sacrificial $.attrFn object.
Originally removed in 86b775d036 as part of the enhancement that allows $(html, props) to use any $.fn method.

Although $.attrFn is undocumented it appears to be a poorly kept secret. jQuery Mobile 1.1 is using it and it's the topic of several blog/StackOverflow posts. Leave an empty object here as a dumpster for now, but it's coming out for good in 1.9.
2012-08-07 13:45:47 -04:00
Timmy Willison
5f3c36c7c0 Sizzle: fix chaining pseudo selectors placed after pos selectors. Fixes #12208. 2012-08-07 13:31:07 -04:00
Corey Frang
07e50933c4 Fixes #1034 - Check for style.removeAttribute before calling it
Fixes issue in non IE browsers that happen to come down this path
2012-08-06 11:01:34 -05:00
Timmy Willison
beeab4d126 Quote reserved keyword 'throws' to satisfy yui compressor. Fixes #12158. 2012-07-30 10:44:47 -04:00
Timmy Willison
e07b444dfe Fix a regression where has with multiple contexts was not filtering correctly. Test added. 2012-07-27 18:19:18 -04:00
Timmy Willison
4039d3668d Sizzle: fix a small bug with combinator cache. Fixes #10499. 2012-07-27 17:34:39 -04:00
Timmy Willison
f6f25eff88 Sizzle: adjust pseudos regex. Fixes #12153. 2012-07-27 16:10:45 -04:00
Dave Methvin
14f67a9518 Per @gibson042, don't need .documentElement since Sizzle handles. 2012-07-26 09:30:49 -04:00
Daniel Chatfield
155855b2a9 Fix #12127, fer real. IE9/10 check state on clone. Close gh-875. 2012-07-25 22:23:24 -04:00
Dave Methvin
cc6c014125 Unbreak isHidden args, they're needed by the .filter() call. 2012-07-25 21:44:44 -04:00
Dave Methvin
ed898c62c8 Fix #12148. Let .toggle() call the public .hide() for punching.
There is a slightly shorter way to do this but it's not Closure-friendly.
2012-07-25 21:24:49 -04:00
Oleg
5119b252ac Moves isHidden to src/css.js and re-introduces its use. No ticket. Closes gh-876 2012-07-25 16:24:10 -07:00
Corey Frang
d00048eabe Oops, didn't mean to revert sizzle last time 2012-07-25 15:53:42 -05:00
Corey Frang
f0432d54f6 This should repair the unit 2012-07-25 15:36:21 -05:00
Timmy Willison
0f14c53d72 Remove unnecessary else 2012-07-25 16:09:30 -04:00
Timmy Willison
17a26f5bd9 Fail silently if closest is somehow called on a document. Fixes #10726. 2012-07-25 16:05:59 -04:00
Timmy Willison
2e42f06cdc Sizzle: fixes issue with :empty pseudo and comment nodes 2012-07-25 15:24:05 -04:00
Dave Methvin
de213be372 Revert "Fix #12127. IE9/10 checks fall off the box on clone. Close gh-873."
This reverts commit 569d064fc9.

Causing test fails in Safari, IE6, and IE7.
2012-07-25 14:38:55 -04:00
Timmy Willison
647b772ab9 Update Sizzle: minor consolidation 2012-07-25 11:01:08 -04:00
Timmy Willison
ad5fba759b Update Sizzle: attribute values regex tweak 2012-07-25 10:52:34 -04:00
Dave Methvin
ce15bd7d0c Fix #7579. Don't convert to number if it changes the string. Close gh-852.
Net effect here is that hex numbers and most exponential-format numbers or long sequences of digits will remain strings rather than being coerced to numbers. `The people have spoken.
2012-07-25 10:28:50 -04:00
Mike Sherov
da4d609297 Followup #12018, fix a test fail converting to pixels. Close gh-874. 2012-07-25 09:45:38 -04:00
Daniel Chatfield
569d064fc9 Fix #12127. IE9/10 checks fall off the box on clone. Close gh-873. 2012-07-25 09:32:33 -04:00
Elijah Manor
077987876b Fix #12132. IE10 dislikes detached object elements. Close gh-870. 2012-07-24 14:45:02 -04:00
Timmy Willison
91dfb28dd8 Update Sizzle 2012-07-23 19:39:58 -04:00
Timmy Willison
3adc59efa6 Sizzle: fixes test fails in IE6/7 2012-07-23 15:37:41 -04:00
Timmy Willison
d8aa8e71b0 Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA 2012-07-23 14:51:55 -04:00
Timmy Willison
09fc2c50cb Update Sizzle 2012-07-23 12:52:08 -04:00
Richard Gibson
e761e0c6e0 Support event delegation with relative selectors. Fixes #10762. Closes gh-860. 2012-07-23 12:49:45 -04:00
Timmy Willison
a08a18b80a Update Sizzle: Minor edits and fixes #10762. 2012-07-23 12:48:05 -04:00
Richard Gibson
c14a6b385f Clean up regexen; use common regex for numbers. Close gh-862. 2012-07-22 22:23:32 -04:00
Corey Frang
74cc5b0984 Fix #9217. oldIE error when changing detached elements, close gh-861 2012-07-22 22:13:31 -04:00
Mike Sherov
aa3fabce46 Fix #12088, Safari 5 and more percentages in getComputedStyle
In particular, min-width and max-width are taunting the awesome hack. Closes gh-865.
2012-07-22 22:03:27 -04:00
Corey Frang
94924a05de Fix the logic to set overflow:hidden on width & height animations - Fixes #12117 - Closes gh-869 2012-07-20 18:36:55 -05:00
Dave Methvin
f70a696598 Update Sizzle to fix #12082, #12087. 2012-07-17 23:04:03 -04:00
jaubourg
ced5e9037a Extracts the serialization code from the ajax module so that alternative ajax implementations can use it without the need for the whole ajax module to be included in the build. 2012-07-13 09:47:43 +02:00
Dave Methvin
c29660c593 Revert "Fix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7."
This reverts commit e866893fd2.

Failures in IE6 when this is removed, unfortunately.
2012-07-12 15:28:58 -04:00
Dave Methvin
e866893fd2 Fix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7.
At this point BlackBerry 4.7 (and related ancient browsers) should be scarce (released circa 2008) so #6932 will be closed wontfix for this edge case.
2012-07-12 15:10:58 -04:00
Dave Methvin
db4d122ff1 Update Sizzle to fix oldIE erroneous getAttribute invokification. 2012-07-12 09:58:59 -04:00
Dave Methvin
f4e5c1729a Fix #11547. toLowerCase not work good on XML attributes.
This was fixed to some extent in gh-724 but there were insufficient test cases. Removing the lowercase completely allows IE 6/7 to work properly since there you need an exact case match for attributes, even in HTML docs. More discussion and test cases in the comments on gh-724.
2012-07-11 23:09:07 -04:00
Dave Methvin
0bde43aeee Update Sizzle; Closes #12054, #12057. 2012-07-11 17:23:15 -04:00
Chris Faulkner
7b5ffcdac8 Fixes a variety of typographical problems. Closes gh-853 2012-07-11 09:46:21 -04:00
Timmy Willison
1f483f354d Adjust jshint options to pass with closure 'sub' changes 2012-07-10 12:12:55 -04:00
Timmy Willison
5bfded1dc6 Sizzle: necessary changes for Advanced Closure compiler support 2012-07-10 12:09:05 -04:00
Uri Gilad
f843a7062f Fix #10517. before() and after() on disconnected node should return multiple nodes. Closes gh-851. 2012-07-10 10:14:43 -04:00
Timmy Willison
b6cb4b420f Sizzle: fix failing test in IE: malformed HTML 2012-07-09 23:48:09 -04:00
Timmy Willison
3384213df9 Update Sizzle: fixes an issue with an escape character in the id of a context 2012-07-09 23:20:36 -04:00
Uri Gilad
21b0db7993 Fix #11962. Standardize getter return values for empty sets. 2012-07-09 23:06:51 -04:00
Timmy Willison
3dbf9a8d5e Update Sizzle: compress/edge case pull from gibson and a fix :not/:has with spaces 2012-07-09 22:08:00 -04:00
Mike Sherov
8f01b92b8f Follow the style guide, lose 72 bytes! Closes gh-840. 2012-07-09 21:39:22 -04:00