Commit Graph

3241 Commits

Author SHA1 Message Date
Timmy Willison
022b265956 Sizzle: removes nth-child cache 2012-09-20 17:00:43 -04:00
Timmy Willison
a44463f83f Sizzle: account for external document contexts (such as iframes) in combinator checks. Fixes #12572. 2012-09-20 12:00:57 -04:00
Timmy Willison
6ad4a0ef34 Update Sizzle: fix a failing test in traversing. Move an attribute selector test to jQuery-only. 2012-09-19 20:46:18 -04:00
Timmy Willison
c9b894c98c Sizzle: fixes failing test in css 2012-09-19 12:30:57 -04:00
Timmy Willison
99f4825707 Update Sizzle: fix position caching with child selectors. Fixes #12337. 2012-09-19 12:04:09 -04:00
Timmy Willison
2f92685a9c Fixes failing tests in selector/traversing 2012-09-19 12:00:47 -04:00
Timmy Willison
f7980d4d68 Update Sizzle: Fixes #12303, #12474, #12523, #12526, #12541. 2012-09-19 11:32:02 -04:00
Richard Gibson
15b5dbfe23 Fix #12229, size/consistency improvements. Close gh-887. 2012-09-18 18:04:31 -04:00
Dave Methvin
e8e3e90a86 Fix #12423. Ensure we can .apply() before we try.
I can't think of an uncontrived way to unit test this, it only occurs in IE when a BHO monkeys with the links.
2012-09-18 14:26:40 -04:00
Richard Gibson
e755c19416 Fix #12447: Ensure starting-point calc takes finite time. Close gh-922. 2012-09-15 13:10:37 -04:00
Dave Methvin
560c178c82 Fix #12536. Start at .offset() 0,0 if no getBoundingClientRect.
This lets us still add the other offset components to the number so they're less wrong. Affects BlackBerry 5 and iOS 3, everyone else has gBCR.
2012-09-14 10:15:10 -04:00
Dave Methvin
b0a352bfa7 Fix #12534. Don't die on browsers lacking getBoundingClientRect. 2012-09-13 18:47:07 -04:00
jaubourg
74cdd78497 deferred.promise(obj) should work with non-objects. Fixes #12521. Much needed unit tests added! 2012-09-13 15:44:12 +02:00
Timmy Willison
01d4065220 Sizzle: fix selector in Chrome 21. Fixes #12492. 2012-09-11 14:50:23 -04:00
Timmy Willison
71c1ae1718 Sizzle: tagged versions are now in the repo; update selector engine list 2012-09-11 13:10:59 -04:00
Dave Methvin
9b67b4c0ef Fix #12436, make delegated events fast again. Close gh-923.
Retains the rooted-at-delegateTarget behavior fixed in #12383 by afd717df9e.
2012-09-09 21:21:42 -04:00
Dave Methvin
c79a533ffd Remove useless guard for a. Close gh-918.
Thanks @staabm!
2012-09-09 21:21:08 -04:00
Timmy Willison
1c99b568fd Sizzle: adjustment for speed totals display 2012-09-08 14:31:31 -04:00
Timmy Willison
bc3a47f83a Update Sizzle: adds custom performance suite for testing across multiple selector engines and multiple versions of Sizzle 2012-09-08 13:06:17 -04:00
Timmy Willison
1ad614b4a9 Update Sizzle: authors.txt update and fix failing tests caused by QUnit's html addition 2012-09-05 18:13:31 -04:00
Dave Methvin
0ca936d2c9 Fix #12370. Explicitly coerce bool/undef to integer. 2012-08-30 10:47:47 -04:00
Timmy Willison
3a633b0082 Sizzle: POS selectors make more extensive use of tokenization. Fixes #12303.
http://jqbug.com/12303
2012-08-29 12:49:39 -04:00
Mike Sherov
670e3ff040 Fix #12243, $("col").width() should return the column's width. Close gh-916. 2012-08-29 12:34:12 -04:00
Timmy Willison
be2899b3b1 Sizzle: tweak for root selector shortcut. Fixes #12419. 2012-08-29 10:40:15 -04:00
Timmy Willison
9683f82d9d Update Sizzle: minor edits 2012-08-29 00:04:52 -04:00
Timmy Willison
fbdf8bed4f Sizzle: support negative numbers in :eq. Fixes #12241. 2012-08-28 20:34:23 -04:00
Timmy Willison
a66b5c7569 Sizzle: adjust caching to avoid IE errors on xml descendent selectors. Fixes #12369. 2012-08-28 20:09:37 -04:00
Timmy Willison
c2f298c8e5 Sizzle: use tokenization to complex check pseudo arguments. Fixes #12412. 2012-08-28 19:47:45 -04:00
Dave Methvin
b6a7d022ee Fix #12347 and #12384. Use a fresh div in jQuery.clean each time.
Regression was introduced in 22ad8723ce most likely because the clown who fixed http://bugs.jquery.com/ticket/4011 didn't add a unit test.
2012-08-28 17:02:01 -04:00
Timmy Willison
7d076f5d79 Reverting Sizzle is bad, Dave. 2012-08-28 11:31:13 -04:00
Dave Methvin
84e45301c5 Update placeholder references to tickets. 2012-08-28 10:09:22 -04:00
Dave Methvin
afd717df9e Fix #12383. All selectors should be delegateTarget-relative 2012-08-28 10:07:16 -04:00
Mike Sherov
c078b83b3f Fix #12313, .height()/.width() just use CSS if no offsetWidth. Close gh-909. 2012-08-28 08:56:06 -04:00
Dave Methvin
9a92c5423f Update authors. 2012-08-28 08:52:09 -04:00
Timmy Willison
3ec8daa69d Update Sizzle: size reduction, -85 bytes 2012-08-27 17:44:47 -04:00
Timmy Willison
f15eb3ce5b Sizzle: provide backwards-compatibility for creating custom pseudos with arguments. Fixes #12409. 2012-08-27 16:53:57 -04:00
Timmy Willison
157c561c15 Sizzle: make html from assertions xhtml compliant. Fixes #12359. 2012-08-27 12:39:14 -04:00
Timmy Willison
f42cc8eab8 Sizzle: fix compilation of the same selector with different contexts. Fixes #12403. 2012-08-27 10:20:18 -04:00
Timmy Willison
2be615eaa1 Update Sizzle: passing null to $.contains should not throw an error. Fixes #12314 2012-08-24 18:08:13 -04:00
Timmy Willison
b2698928bb Update Sizzle: Use tokenization rather than regex for grouping. Fixes #12237, #12205, #12285. 2012-08-24 17:43:54 -04:00
Dave Methvin
05337e78fa Revert "Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL."
This reverts commit c01e022f33.

We actually changed DELETE to accept a body on purpose, see http://bugs.jquery.com/ticket/7285 .
2012-08-24 11:59:01 -04:00
Dave Methvin
a5be986206 Revert "Fix #12120. Always stack .before/.after, and fix disconnected nodes."
This reverts commit e2eac3f4d2.

There is a 1.7 regression with isDisconnected() that we should fix before tackling this.
2012-08-24 11:57:48 -04:00
Dave Methvin
e2eac3f4d2 Fix #12120. Always stack .before/.after, and fix disconnected nodes. 2012-08-23 23:25:57 -04:00
Dave Methvin
2263134b22 Fix #10863. Allow newlines in JSON data- attributes. 2012-08-23 22:19:06 -04:00
Dave Methvin
c01e022f33 Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL. 2012-08-23 21:33:29 -04:00
Mike Sherov
a9c2a9bf61 Scorch the earth and retreat on readyState interactive! Close gh-907. 2012-08-23 20:28:22 -04:00
Elijah Manor
10901f7d9f Fix #12266. IE9/10 says document[0] is document.frames[0]? Close gh-903. 2012-08-22 21:48:02 -04:00
Richard Gibson
9e246dd7fa Fix #12350: jQuery.trim should remove BOM 2012-08-21 08:59:51 -04:00
Dave Methvin
465959e75c Fix #12333. Chrome needs $.browser.webkit too. 2012-08-20 23:09:46 -04:00
Dave Methvin
ac043b1bc8 Revert "Fix #12350. Remove BOM in jQuery.trim. Close gh-897."
This reverts commit 2b5b4ebbd7.

String.prototype.trim doesn't trim BOM in Safari 5.0 so this won't work without additional feature detects.

http://swarm.jquery.org/result/165379
2012-08-20 09:33:35 -04:00