Commit Graph

3929 Commits

Author SHA1 Message Date
Dave Methvin
8cabdcd122 Use jdalton's shorter sequence for the chars. 2011-08-23 08:55:41 -04:00
Dave Methvin
9b174520cc Use a semantic name for the variable. 2011-08-23 08:47:34 -04:00
Dave Methvin
749dbad981 Prioritize #id over <tag> to avoid XSS via location.hash (#9521) 2011-08-23 08:25:11 -04:00
Dave Methvin
771e637a51 Fixes #10098. Avoid a slashy-starry char sequence in literal strings to evade faulty script compressors. 2011-08-22 22:32:06 -04:00
timmywil
84f29084d6 Revert "Landing pull request 461. Adds a due diligence check for pre-defined data-* attrs during removal. Fixes #10026."
This reverts commit 6805fc2cd2.

A more cache-friendly solution is in the works.
2011-08-22 15:02:46 -04:00
Rick Waldron
6805fc2cd2 Landing pull request 461. Adds a due diligence check for pre-defined data-* attrs during removal. Fixes #10026.
More Details:
 - https://github.com/jquery/jquery/pull/461
 - http://bugs.jquery.com/ticket/10026
2011-08-22 13:49:18 -04:00
rwldrn
93beee8ac0 Test for window inference. Fixes #10080 2011-08-18 10:17:12 -04:00
Rick Waldron
f44d5e1e81 Ensure cache[id] exists before attempting to delete it. Fixes #10080 2011-08-17 17:49:09 -04:00
dmethvin
1a738cb72f Landing pull request 463. Fixes #9572. Don't camelize the -ms- prefix because Microsoft didn't. A Fixes #9572.
More Details:
 - https://github.com/jquery/jquery/pull/463
 - http://bugs.jquery.com/ticket/9572
2011-08-17 17:34:09 -04:00
Rick Waldron
130a29e786 Landing pull request 459. Do not allow assumed cache[id] in jQuery.data. Fixes #8235.
More Details:
 - https://github.com/jquery/jquery/pull/459
 - http://bugs.jquery.com/ticket/8235
2011-08-17 17:18:58 -04:00
Rick Waldron
8537a740cd Landing pull request 467. Adds comments regarding opacity test adjustments.
More Details:
 - https://github.com/jquery/jquery/pull/467
2011-08-17 17:06:21 -04:00
timmywil
624ee36646 Update sizzle and QUnit 2011-08-17 17:05:16 -04:00
rwldrn
e9e7db412b Landing pull request 466. Test if opacity is not expected val. Fixes effects test suite.
More Details:
 - https://github.com/jquery/jquery/pull/466
2011-08-17 16:29:55 -04:00
timmywil
5209dd75a0 Set back the offset test name to fix offset tests; iframe retrieval is based on test names 2011-08-17 16:08:44 -04:00
Anton Ryzhov
190136cf61 Unit test for this case
Codestyle fixes
2011-08-17 18:56:21 +04:00
Anton Ryzhov
9c18eb2c15 $.inArray doesn't crush IE6 and Chrome if second argument is null or undefined 2011-08-17 15:30:12 +04:00
Dave Methvin
5d954c1b23 Check for null before isNaN(). 2011-08-16 19:30:20 -04:00
Dave Methvin
727d51ec9d Save a few bytes, thanks @danheberden! 2011-08-16 19:25:32 -04:00
Dave Methvin
015328787c Fixes #10021. Allow negative relative values for .css() (e.g., "+=-20px") since .animate() already allows it. Useful for when the relative value is a variable. 2011-08-16 18:00:44 -04:00
timmywil
2053d1c621 Remove requestAnimationFrame support. Fixes #9381. 2011-08-16 11:21:53 -04:00
timmywil
0b8b636012 Fix effects test suite to account for opacity being removed rather than explicity set to 1 2011-08-16 11:19:19 -04:00
Dave Methvin
b22c904652 Merge pull request #456 from rwldrn/9318
Improves support for arbitrary numbers in data keys. Fixes #9318
2011-08-05 07:45:05 -07:00
Dave Methvin
37254bab91 Merge pull request #455 from rwldrn/9413
Supports interoperable removal of hyphenated/camelCase properties. Fixes #9413
2011-08-05 07:44:51 -07:00
Dave Methvin
caa47c3774 Merge pull request #454 from rwldrn/test-suite-fix
Fixes assertion counts and dom element fixture issue
2011-08-05 07:44:21 -07:00
Rick Waldron
e7af6a296b Improves support for arbitrary numbers in data keys. Fixes #9318 2011-08-05 10:17:24 -04:00
Rick Waldron
22028e403f Adds failing tests 2011-08-05 10:17:02 -04:00
Rick Waldron
13647e94e0 Fixes assertion counts and dom element fixture issue 2011-08-05 10:02:33 -04:00
Rick Waldron
2ce5e95951 Supports interoperable removal of hyphenated/camelCase properties. Fixes #9413 2011-08-05 09:43:58 -04:00
Rick Waldron
7daf44b5ab Adds failing tests for #9413 2011-08-05 09:43:15 -04:00
timmywil
e18cad6f88 Add test page for crashing IE8 when the testElement in support has a background (will run from the test suite). Supplements #9823. 2011-08-04 18:56:49 -04:00
timmywil
5c4a9cc001 Add back the background: none setting to avoid any possible crashes in IE from the support testElement. Fixes #9823. 2011-08-04 18:41:34 -04:00
timmywil
700c16b085 Remove unnecessary regex 2011-08-04 18:16:15 -04:00
timmywil
8c2cb49917 Now using getAttributeNode in all attribute cases in IE6/7, which normalizes attribute behaviors across browsers, is less hacky, and shortens the attribute code. Fixes #9980. 2011-08-04 18:16:15 -04:00
timmywil
fd4ee2a397 Make the tabIndex hook first a propHook and add it to attrHooks for back-compat reasons. Fixes #9979. 2011-08-04 18:16:15 -04:00
Dave Methvin
3cfb134ab4 Merge pull request #367 from gnarf37/index-optimize
Quick improvement to the performance of .index() with no arguments
2011-08-04 15:11:42 -07:00
Dave Methvin
8d5c874227 Merge pull request #416 from gnarf37/ticket_6652
CSS: Remove filter from style when setting opacity to 1 - Fixes #6652 - R
2011-08-04 15:09:31 -07:00
Dave Methvin
b5a16ead1a Merge pull request #412 from rwldrn/9587
jQuery.clone() check destination child nodes are not null. Fixes #9587
2011-08-04 14:57:51 -07:00
Dave Methvin
59936dc04d Merge pull request #432 from rwldrn/9794
Correct non-null|undefined evaluation of data property values. Fixes #9779
2011-08-04 14:55:21 -07:00
Dave Methvin
2e298d92db Merge pull request #431 from DenisKnauf/master
input type=datetime-local (ajax doesn't support it, yet)
2011-08-04 14:51:43 -07:00
Dave Methvin
84936f1e64 Merge pull request #434 from Bubbi/bug_7071
ticket #7071 - Accessing the 'type' property on VML elements fails on IE during submit special handler
2011-08-04 14:41:11 -07:00
Dave Methvin
1846551a0c Merge pull request #451 from scottjehl/master
Check body existence before referencing its properties (fixes Nokia error)
2011-08-04 14:35:29 -07:00
Dave Methvin
6a3395afcd Merge pull request #419 from rwldrn/9630
Unit tests assert that .contents().hasClass() works as expected. Fixes #9630
2011-08-04 14:33:52 -07:00
Dave Methvin
5417a2cf6b Merge pull request #417 from rwldrn/9385
Begrudgingly adds chrome detection to jQuery.browser (1.7). Fixes #9385
2011-08-04 14:31:56 -07:00
Dave Methvin
566f958d58 Merge pull request #443 from rwldrn/minimal-license
Builds minimal license header block for jquery.min.js
2011-08-04 14:16:35 -07:00
Dave Methvin
ea0303ecbf Merge pull request #444 from rwldrn/9634
Non-breaking-space should achieve the same effect as a visible character. Fixes #9634
2011-08-04 14:15:18 -07:00
Dave Methvin
d7681a12e5 Merge pull request #447 from rwldrn/9914
Removes empty, duplicate named test block. Fixes #9914
2011-08-04 14:12:10 -07:00
Dave Methvin
5f54cb7066 Merge pull request #448 from rwldrn/9912
Renames duplicate named test block. Fixes #9912
2011-08-04 14:11:17 -07:00
Dave Methvin
dd3662d0ff Merge pull request #449 from rwldrn/9913
Removes duplicate test block. Fixes #9913
2011-08-04 14:10:25 -07:00
Rick Waldron
905e8920f9 Landing pull request 453. Typo correction strictEquals=>strictEqual. Fixes #9964.
More Details:
 - https://github.com/jquery/jquery/pull/453
 - http://bugs.jquery.com/ticket/9964
2011-08-03 14:02:10 -04:00
scottjehl
c8cc1b35e4 Make sure body is defined before attempting to use its properties. This check prevents an error from occurring when the width() or height() methods are called before the body is defined in browsers that return false on the first condition and proceed on to the second. For example, simply calling $( window ).width() from a script in the HEAD will throw an error in Nokia webkit browsers without this check in place. 2011-08-02 18:38:35 -04:00