Commit Graph

5265 Commits

Author SHA1 Message Date
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
Timo Tijhof
6af0bcc626 Test: Set testswarm.runMax from config file 2012-06-11 15:56:08 -04:00
jaubourg
cac5b08f72 Here is hoping everything works with the full build and the build without ajax... looking at you @dmethvin ;) 2012-06-11 21:04:34 +02:00
Jeffery To
801768386b Fix #8109, percent animations; fix #11854, wrong this, close gh-808 2012-06-11 14:17:36 -04:00
Dave Methvin
142ff73450 Prevent total unit test meltdown ... and now over to @jaubourg! 2012-06-11 14:07:02 -04:00
Richard Gibson
1ac15582f2 Shrink support.js, closes gh-818 2012-06-11 13:24:26 -04:00
jaubourg
eb7a7af46a We don't have IE9 supports grid yet, completely didn't see this while refactoring. 2012-06-11 19:05:16 +02:00
Dave Methvin
60e7adb3f4 Update QUnit so IE will pass unit tests.
Normally we'd want to stay with an official release, but we need 1604af735af117fff3ee7589c611c04f665ac169 so that QUnit will not yell about errors encountered bduring `globalEval`.
2012-06-11 12:55:50 -04:00
jaubourg
a47b304f81 Modularize ajax (and sub-modules).
Tests are guaranteed to run with ajax removed, not with just ajax/jsonp, ajax/script or ajax/xhr removed.
Removing ajax saves 3982 bytes minified gzipped.
2012-06-11 18:51:28 +02:00
jaubourg
ac48a19b92 Some work to modularize ajax later on. 2012-06-11 14:00:16 +02:00
Mike Sherov
5f35b3d9f9 Fix #11857. Modularize css.js, add dependency management. Closes gh-816.
See the pull request for more info on the dependency management details.
2012-06-10 21:54:16 -04:00
Mike Sherov
1bb1432fe9 Fix IE6 failures from forgotten shrinkWrapBlocks, closes gh-815 2012-06-10 21:30:43 -04:00
Jörn Zaefferer
0344a390b7 Grunt: Update testswarm task to use more config properties. Already deployed on Jenkins server 2012-06-07 20:36:19 +02:00
Rick Waldron
a86ed30f0a Make exclusion list less confusing to read 2012-06-07 12:03:32 -04:00
Rick Waldron
3b2d2b022c Make readme code examples consistent; Update to use GH syntax fences 2012-06-07 11:59:30 -04:00
Rick Waldron
84da169949 Remove bold style from command examples 2012-06-07 11:50:04 -04:00
Rick Waldron
9fb3c01c37 Make custom dist example less OSX specific 2012-06-07 11:46:45 -04:00
Mike Sherov
c68ab270fa Modularize offset (exclude w/ grunt build:*:*:-offset). Closes #813. Fixes #11865 2012-06-07 11:24:35 -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
Rick Waldron
79af1b457b Remove unnecessary haunted house guards.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-06 23:10:06 -04:00
Rick Waldron
d487b06d93 Fixes two typos 2012-06-06 22:59:55 -04:00
Mike Sherov
b9b87d53c6 Less letterSpacing .animate() fail in IE. Fixes #8627 2012-06-06 19:03:10 -04:00
Rick Waldron
5d25f78291 Conditionally run height/width in iframeTest 2012-06-06 18:13:59 -04:00
Rick Waldron
53a5810bfc Rough draft of version=min test capabilities reintroduced.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-06 17:39:23 -04:00
Rick Waldron
f5d2bc4db1 Ensure both height and width port functions exist before attempting to run dimensions tests.
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-06 17:38:52 -04:00
Mike Sherov
4dcd7dd324 Fixe dimensions tests. No core code changes. Supplements #11856 2012-06-06 17:06:03 -04:00
Rick Waldron
e680f36ca0 Fix busted tests that relied on width in 2nd param to jQuery(), dimensions stays modular. (core, attributes, offset)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-05 16:38:18 -04:00
Mike Sherov
3225d61496 Make dimensions modular, adds optional build flag. Fixes #11856 2012-06-05 15:29:46 -04:00
Rick Waldron
8265fa0837 Allow users to store custom dist destinations in dist/.destination.json
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-05 13:10:01 -04:00
Rick Waldron
e0cdeac87b Don't create "*" dir when "grunt dist" is run without explicit destination dir. (thanks @timmywil)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-05 12:16:48 -04:00
Rick Waldron
ef31b678d3 Adds "grunt submodules" docs to readme, removes old make command docs
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-05 11:59:07 -04:00
Rick Waldron
655350be5d Create special "grunt watch" task called "dev"
"dev" is a short task list that's optimized for grunt watch's high run rate frequency

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-06-05 11:52:22 -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
81c7b83d64 Make readme instructions bold and hopefully easier to spot 2012-06-04 12:56:06 -04:00
Rick Waldron
36623de76c Take out the papers and the trash (from build/) 2012-06-04 12:53:53 -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
1122c8ce32 Adjust the return type for the tabindex attribute tests to be a string. Recomment a tabindex test since FF12's QSA includes video elements that don't have a tabindex attribute.
Related:
https://bugzilla.mozilla.org/show_bug.cgi?id=618737
2012-05-30 15:00:30 -04:00
timmywil
f633c7f165 Uncomment an old test for when the tabindex attrhook was deprecated 2012-05-30 14:07:59 -04: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