Commit Graph

5173 Commits

Author SHA1 Message Date
Timmy Willison
54cbcf1f3d Sizzle: initialize with default document on load to get it out of the way for most use cases 2012-12-15 12:50:30 -05:00
Timmy Willison
d907848642 Sizzle: assume window.document in Sizzle.matches; massively reduce calls to setDocument by not calling when context is null 2012-12-15 10:50:35 -05:00
Timmy Willison
cc164a36f4 Update Sizzle 2012-12-15 10:33:33 -05:00
Timmy Willison
8424933153 Update Sizzle: avoid calling setDocument when possible 2012-12-15 10:26:24 -05:00
Richard Gibson
60fdc12b96 Update Sizzle 2012-12-15 01:26:18 -05:00
Timmy Willison
73689060ef Update Sizzle: IE6-8 traversing test fix 2012-12-14 19:06:31 -05:00
Timmy Willison
8b4cdbb663 Sizzle: fix test failures related to Sizzle.contains 2012-12-14 19:00:41 -05:00
Timmy Willison
04bcb173a0 Sizzle: :target and :root selector support. adds Sizzle.setDocument. Remove :active support. 2012-12-14 17:24:39 -05:00
Richard Gibson
2c40fdd4a8 Fix #12600: don't use value property in place of value attribute. Close gh-1063. 2012-12-14 10:37:20 -05:00
Timmy Willison
7d61c5238e Adjust html parsing in event tests to use jQuery.parseHTML explicitly. 2012-12-13 15:52:59 -05:00
timmywil
05531fc408 Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290. 2012-12-13 15:31:02 -05:00
Richard Gibson
452e32769d compress -16 min+gzip 2012-12-13 12:41:25 -05:00
Oleg
643ecf9d63 Ref #8908, gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036. 2012-12-13 10:42:43 -05:00
Richard Gibson
ca26d45395 Fix #13044: execute all QUnit modules in TestSwarm. Close gh-1074. 2012-12-13 10:13:50 -05:00
Scott González
a270d638f8 CSS: Save some bytes. Close gh-1071. 2012-12-13 10:06:06 -05:00
Oleg
13651f296d Fix #9646. Cloned nodes shouldn't affect original in IE7. Close gh-947. 2012-12-13 09:29:40 -05:00
Dave Methvin
0018f7700b Fix #11230. .appendTo and pals should always stack. 2012-12-13 09:19:41 -05:00
Dave Methvin
40e08f81bd Missed a var declaration in aad235b325. 2012-12-11 23:35:51 -05:00
Paul Ramos
f12611feb4 Fix #4087. insertAfter, insertBefore, etc do not work if origin and destination are same element. Close gh-1068. 2012-12-11 23:35:22 -05:00
Dave Methvin
aad235b325 Fix #13011. Let 'type' attribute be set if the browser allows. 2012-12-11 23:16:08 -05:00
Richard Gibson
1d1c80d377 copy defaultSelected in cloneFixAttributes 2012-12-11 23:05:18 -05:00
Bennett Sorbo
32842ac365 Fix #12990. Don't add 'px' to column-count. Close gh-1050. 2012-12-11 22:38:37 -05:00
Oleg
93e18922c5 Fix #12956. Improve cloneFixAttributes for IE9/10 case. Close gh-1034.
Remove clear(merge)Attributes hack
2012-12-11 22:06:26 -05:00
Richard Gibson
f42e1e654f Fix IE failures from 55313d32 2012-12-11 16:12:23 -05:00
Mike Sherov
ef6d8779de Fixes #11938: Adding array getter method to jQuery.fn.css 2012-12-11 13:58:14 -05:00
Mike Sherov
a918dc8aac Pass style declarations around for performance improvements and paving the way for the css array signature
Also, simplify the jQuery.css numeric coercion signature
2012-12-11 13:58:14 -05:00
Richard Gibson
aa0e4aadd5 Update Sizzle 2012-12-11 09:25:37 -05:00
Timo Tijhof
55313d32a2 Test: Update index.html to new QUnit format. Close gh-1061.
Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
2012-12-10 21:48:20 -05:00
Oleg
d41b983259 Fix #10417. setTimeout w/o 2nd arg is jQuery.later! Close gh-1065. 2012-12-10 20:51:49 -05:00
Timo Tijhof
cef044d82e Test: Remove fixtures from QUnit.done hook. Close gh-1069.
This fixes jquery/testswarm#197. These are currently removed from
the TestSwarm injector, however this is jQuery specific, and
should be done from this end instead.
2012-12-10 20:45:20 -05:00
Rick Waldron
3c7f2af81d Be specific about Firefox nodes-as-nodelist. Never assume that modern browsers will "get it right".
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-10 20:19:26 -05:00
Rick Waldron
07a7b3e4cf Fixes #13021. Normalization of core utility array like detection based on standard protocol by Richard Gibson <richard.gibson@gmail.com>. Closes gh-1064 2012-12-10 13:52:02 -05:00
Rick Waldron
7d5b86ec39 Refactor defaultDisplay's node creation and display logic, -6 2012-12-10 10:05:39 -05:00
Dave Methvin
2eda329be6 Ref #13019 and gh-1062. Use parentNode check instead of isDisconnected(). 2012-12-09 14:46:06 -05:00
Dave Methvin
f8f52cfcf4 Fix #13019. Disconnected nodes with .replaceWith are a noop. Close gh-1062. 2012-12-09 14:10:38 -05:00
Richard Gibson
d343e6b9ed Fix #12904: Firefox defaultDisplay with body/iframe display:none. Report and solution by @maranomynet; test by @rwldrn. 2012-12-08 18:04:13 -05:00
jaubourg
23d7cf0488 Deferred: .resolve(), .reject() and .notify() now set the callback context to the promise instance rather than the deferred instance ; .then() has also been amended. Fixes #11405. 2012-12-07 15:14:12 +01:00
Dave Methvin
282c044d64 Fix #13013. Move jQuery.buildFragment() to compat plugin. 2012-12-06 21:17:27 -05:00
Richard Gibson
747600b157 Don't test what ain't there no more 2012-12-06 17:01:36 -05:00
Timo Tijhof
5dd8a90f73 Make compatible with jshint, lint test/data. Close gh-1043. 2012-12-06 13:46:37 -05:00
Richard Gibson
26bf8dd56b once more with feeling 2012-12-05 23:47:33 -05:00
Richard Gibson
9bfe9e7dfb don't test SVG on IE6 2012-12-05 23:30:53 -05:00
Richard Gibson
abe009cf26 Fix #10832 (this time with tests): jQuery.contains in SVG 2012-12-05 22:42:54 -05:00
jaubourg
b7ece8c620 Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore."
This reverts commit 228ab3ddae.
2012-12-05 14:54:14 +01:00
jaubourg
6df2900d3a Revert "Fixes spacing"
This reverts commit 2a419a7e8f.
2012-12-05 14:54:10 +01:00
jaubourg
7f7007dffe Revert "228ab3d followup 1: fix test failures. Close gh-1056."
This reverts commit 20608b3579.
2012-12-05 14:54:00 +01:00
Richard Gibson
20608b3579 228ab3d followup 1: fix test failures. Close gh-1056. 2012-12-05 02:12:32 -05:00
Dave Methvin
4437002771 Radical idea: Calculate expect() value before fn call. 💜 2012-12-04 22:14:08 -05:00
Rod Vagg
551c2c9f4a Fixes #12449. make replaceWith() clone elements where required. Closes gh-920 2012-12-04 21:50:22 -05:00
Paul Ramos
13449a99b2 Fix #11989. Remove fragment cache, moving to jquery-compat. Close gh-1052. 2012-12-04 21:30:37 -05:00