Commit Graph

3062 Commits

Author SHA1 Message Date
timmywil
6cdca88eee Restore rhtmlString to its original form. 1.9 will come with starts-with html matching. For now, we are warning against broad use of jQuery() to parse html. 2012-06-21 11:38:31 -04:00
timmywil
c20e031058 Revert "Adjust jQuery('html') detection to only match when html starts with '<' (counting space characters). Fixes #11290"
This reverts commit 239fc86b01.

The consensus is that this would change behavior too abruptly. We will warn in 1.8 and do this in 1.9.
2012-06-21 11:38:31 -04:00
timmywil
f3515b735e Update Sizzle: fixes test fails in selector module in IE9/Opera 2012-06-20 12:52:41 -04:00
timmywil
c8d5734e5b Update Sizzle: minor fix for matchesSelector usage in FF<12 2012-06-20 11:55:32 -04:00
timmywil
cc9bc0bb6b Update Sizzle: performance testing and changes for optimization. Adds back matchesSelector. 2012-06-20 11:41:58 -04:00
timmywil
239fc86b01 Adjust jQuery('html') detection to only match when html starts with '<' (counting space characters). Fixes #11290 2012-06-20 11:19:24 -04:00
timmywil
7692ae419d When detecting html in init, ignore html characters within quotes, brackets, and parens as well as escaped characters which are valid in selectors. Fixes #11290. 2012-06-19 11:35:45 -04:00
timmywil
868a9cea08 Update Sizzle: fixes a bug dealing with backslashes in selectors. Fixes #10270. 2012-06-19 11:00:16 -04:00
timmywil
fcd6ea8465 Fixes test fails in traversing and event 2012-06-19 02:23:16 -04:00
timmywil
ccffddd89b Update Sizzle: adds selector divisions for element-rooted QSA in the Dupont strategy. Fixes #11814. 2012-06-19 01:50:03 -04:00
timmywil
2e5d645287 Update Sizzle 2012-06-19 00:40:04 -04:00
timmywil
713cc86096 Move quickIs to Sizzle; Remove duplicate id matching in init; Added selector caching to Sizzle. Fixes #11826. 2012-06-18 23:10:32 -04:00
timmywil
5c37506540 Update Sizzle 2012-06-18 14:33:37 -04:00
Rick Waldron
c31a5ee9aa Fixes typo in comment 2012-06-18 14:17:10 -04:00
Rick Waldron
bab641a113 Fix comment block indents
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-18 13:28:47 -04:00
Rick Waldron
f7ee1f6e59 Update document.defaultView.getComputedStyle. Fixes #10373 2012-06-18 13:27:04 -04:00
timmywil
80295ed0e5 Update Sizzle: rewrite attributes handling to be simpler and more widespread when independent from jQuery. No changes to jQuery's attribute handling. 2012-06-17 15:42:57 -04:00
Sindre Sorhus
ea9ec95276 Fix #11231, (append|prepend|before|after) w/ array of jQuery objects.
Closes gh-666, thanks to @rkatic!
2012-06-15 22:29:02 -04:00
Vladimir Zhuravlev
9c28a320c3 Fix #11566, allow appending to DocumentFragment, closes gh-814. 2012-06-15 21:37:01 -04:00
Mike Sherov
0b352f6cb5 Fix #9505, percentage position values in Webkit, closes gh-825. 2012-06-15 21:25:25 -04:00
Richard Gibson
a101e81bde Interim take on cross-module variables, closes gh-817. 2012-06-15 21:01:44 -04:00
timmywil
75bed122e1 Update Sizzle: Removes an unnecessary link in the test suite 2012-06-15 16:10:45 -04:00
timmywil
8763bec032 Update Sizzle. Fixes #11109. 2012-06-15 14:24:31 -04:00
timmywil
8f944a1b5c Add necessary test html from Sizzle tests; Add an easy way to turn off QSA in tests 2012-06-15 02:09:38 -04:00
Mike Sherov
87e709cfcb Fix regression for "-200px" in animations; closes gh-822.
Also removes fake IIFEs ffrom effects.
2012-06-11 21:01:23 -04:00
Dave Methvin
f8c02c886e Fix #11328. I've never metaKey I liked on IE 6/7/8.
The `event.metaKey` property is undefined there so we ensure it's set to `false` for lack of a better default. The `originalEvent.metaKey` property is untouched if you prefer to make other guesses about the platform or key state.

This is pretty much impossible to unit test since it is not only platform dependendent but also only executed for native browser events.
2012-06-11 18:44:54 -04:00
Dave Methvin
9e0c056171 Fix #10589. Remove deprecated $.fn.data("events") special case.
No unit tests were harmed in the removal of this hack.
2012-06-11 17:16:19 -04:00
Jeffery To
801768386b Fix #8109, percent animations; fix #11854, wrong this, close gh-808 2012-06-11 14:17:36 -04:00
Richard Gibson
1ac15582f2 Shrink support.js, closes gh-818 2012-06-11 13:24:26 -04:00
jaubourg
ac48a19b92 Some work to modularize ajax later on. 2012-06-11 14:00:16 +02:00
Mike Sherov
1bb1432fe9 Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815 2012-06-10 21:30:43 -04:00
Mike Sherov
c80bc22728 Don't swap to measure dimensions unless the element is display:none. #807 Fixes #11293 2012-06-07 11:08:31 -04:00
Mike Sherov
b9b87d53c6 Less letterSpacing .animate() fail in IE. Fixes #8627 2012-06-06 19:03:10 -04:00
Mike Sherov
4dcd7dd324 Fixe dimensions tests. No core code changes. Supplements #11856 2012-06-06 17:06:03 -04:00
timmywil
37ffb29d37 Relativize all urls pertaining to dist/jquery.js so users can run their server from any file location; Make sure Sizzle is available for its tests in testrunner. 2012-06-04 18:04:11 -04:00
Rick Waldron
7c23b77af2 Strips IIFEs from modules; Always require built jQuery for tests. 2012-06-04 12:48:18 -04:00
Rick Waldron
9a3046c375 Space => tab indent correction 2012-06-03 10:42:24 -04:00
Mike Sherov
888635f8c1 No need to dasherize and use getPropertyValue, closes gh-805.
All invocations of curCSS are already camelcased. See the PR for discussion.
2012-06-01 08:24:23 -07:00
Rick Waldron
1442bf9449 Removes temp var, shaves 2 bytes from gzipped size 2012-05-31 18:15:57 -04:00
Mike Sherov
ba70f8aeb6 Fix #11724, $(document).height() in Firefox 12. Closes gh-802.
This reopens #3838 for IE6 which is a regression on a fix in 1.7.2, but we'd rather break a really old IE than a really recent Firefox.
2012-05-31 09:24:44 -07:00
Richard Gibson
742872984e Fix #11743: Don't mask script errors in jQuery.ajax, closes gh-795. 2012-05-31 08:31:13 -07:00
Richard Gibson
2d37b6ccb8 Fix #11787: Remove jQuery.curCSS, closes gh-801. 2012-05-31 08:21:53 -07:00
timmywil
3e2a77c5e8 Remove the tabindex attrHook. Fixes #8473 2012-05-30 13:46:50 -04:00
timmywil
f313384be3 Update Sizzle: Fixes fail in ajax module and Safari 5.0 2012-05-30 11:20:28 -04:00
timmywil
2c57d4cf27 Update Sizzle: fixes fail in traversing tests 2012-05-29 22:33:17 -04:00
timmywil
66f60ba818 Update Sizzle: regex cleanup 2012-05-29 20:48:07 -04:00
timmywil
b4b2e87058 Update Sizzle: save 5 bytes 2012-05-29 16:08:00 -04:00
timmywil
de1d3fa38f Update Sizzle: fixes a bug with the adjacent combinator. Fixes #9939. 2012-05-29 15:46:33 -04:00
timmywil
9c69891d2d Update Sizzle: only one assertion is needed for getElementsByClassName 2012-05-29 15:13:53 -04:00
timmywil
75277c52dc Update Sizzle 2012-05-29 14:58:34 -04:00