jquery.git
13 years agoUpdate jQuery.hasData to always return a boolean, with unit tests.
Colin Snover [Wed, 22 Dec 2010 20:54:37 +0000 (14:54 -0600)]
Update jQuery.hasData to always return a boolean, with unit tests.

13 years agoRemove code for ticket #7717 which has been marked WONTFIX to match existing $.data...
Colin Snover [Wed, 22 Dec 2010 20:43:17 +0000 (14:43 -0600)]
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.

13 years agoFix a potential error in the previous commit caused by the use of a separate index...
Colin Snover [Wed, 22 Dec 2010 15:15:41 +0000 (09:15 -0600)]
Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.

13 years agoFix a potential error in the previous commit caused by the use of a separate index...
Colin Snover [Wed, 22 Dec 2010 15:13:28 +0000 (09:13 -0600)]
Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.

13 years agoFix a potential error in the previous commit caused by the use of a separate index...
Colin Snover [Wed, 22 Dec 2010 15:13:28 +0000 (09:13 -0600)]
Fix a potential error in the previous commit caused by the use of a separate index variable.

13 years agoFix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing these issues.
Colin Snover [Sun, 19 Dec 2010 21:33:53 +0000 (15:33 -0600)]
Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing these issues.

13 years agoAddress some code style issues in the clone fix.
Colin Snover [Thu, 16 Dec 2010 07:29:06 +0000 (01:29 -0600)]
Address some code style issues in the clone fix.

13 years agoFixes #7397.
Colin Snover [Tue, 14 Dec 2010 06:40:28 +0000 (00:40 -0600)]
Fixes #7397.

13 years agoMerge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397
Colin Snover [Tue, 14 Dec 2010 06:37:11 +0000 (00:37 -0600)]
Merge branch 'bug_7397' of https://github.com/rwldrn/jquery into rwldrn-bug_7397

13 years agoMore specific version numbers.
Colin Snover [Mon, 13 Dec 2010 02:01:47 +0000 (20:01 -0600)]
More specific version numbers.

13 years agoSpeed up & compatibility improvements for new clone mechanism in IE.
Colin Snover [Mon, 13 Dec 2010 01:23:22 +0000 (19:23 -0600)]
Speed up & compatibility improvements for new clone mechanism in IE.

13 years agoReturn test comments to ASCII space
Colin Snover [Sun, 12 Dec 2010 19:37:00 +0000 (13:37 -0600)]
Return test comments to ASCII space

13 years agoMerge branch 'bug5566' into csnover-bug5566. Fixes #4386, #5566, #6997.
Colin Snover [Sun, 12 Dec 2010 08:39:06 +0000 (02:39 -0600)]
Merge branch 'bug5566' into csnover-bug5566. Fixes #4386, #5566, #6997.

Conflicts:
src/manipulation.js
test/unit/manipulation.js

13 years agoFix the clone method to be a little less insane in IE, which fixes the new event...
Colin Snover [Sun, 12 Dec 2010 08:20:31 +0000 (02:20 -0600)]
Fix the clone method to be a little less insane in IE, which fixes the new event-cloning clone() as well as probably a bunch of IE-related clone bugs.

13 years agoSimplified headers tests: removed multiline headers (support is far too servers ...
jaubourg [Sat, 11 Dec 2010 01:41:39 +0000 (02:41 +0100)]
Simplified headers tests: removed multiline headers (support is far too servers & browsers dependant) and made all the tests in a single request.

13 years agoTweaked the headers test to be apache independent and actually work.
jaubourg [Sat, 11 Dec 2010 01:21:54 +0000 (02:21 +0100)]
Tweaked the headers test to be apache independent and actually work.

13 years agoRemoved bind/unbind from xhr emulation: success/error/complete are deferred not event...
jaubourg [Sat, 11 Dec 2010 01:04:13 +0000 (02:04 +0100)]
Removed bind/unbind from xhr emulation: success/error/complete are deferred not events so these methods didn't really make sense in the first place.

13 years agoAdded the regexp to remove module closures to the ant build file to be on par with...
jaubourg [Sat, 11 Dec 2010 00:56:29 +0000 (01:56 +0100)]
Added the regexp to remove module closures to the ant build file to be on par with the Makefile.

13 years agoMore variable renaming to avoid conflicts when module closures are removed.
jaubourg [Sat, 11 Dec 2010 00:35:46 +0000 (01:35 +0100)]
More variable renaming to avoid conflicts when module closures are removed.

13 years agoChanged document.location to window.location per Ben Alman advice.
jaubourg [Fri, 10 Dec 2010 06:00:06 +0000 (07:00 +0100)]
Changed document.location to window.location per Ben Alman advice.

13 years agoRenamed variables to avoid conflicts when Makefile removes internal closures.
jaubourg [Fri, 10 Dec 2010 03:16:56 +0000 (04:16 +0100)]
Renamed variables to avoid conflicts when Makefile removes internal closures.

13 years agoFix the closure in ajax.js too.
jaubourg [Fri, 10 Dec 2010 02:16:50 +0000 (03:16 +0100)]
Fix the closure in ajax.js too.

13 years agoFixed function closures so that Makefile can do its magic.
jaubourg [Fri, 10 Dec 2010 02:14:03 +0000 (03:14 +0100)]
Fixed function closures so that Makefile can do its magic.

13 years agoReplaced spaces with a tab in Makefile.
jaubourg [Fri, 10 Dec 2010 01:55:43 +0000 (02:55 +0100)]
Replaced spaces with a tab in Makefile.

13 years agoRemoved non-standard (and not that useful) xhr emulation methods & reworked the heade...
jaubourg [Fri, 10 Dec 2010 01:45:08 +0000 (02:45 +0100)]
Removed non-standard (and not that useful) xhr emulation methods & reworked the headers test as a consequence.

13 years agoAdded xhr.js and transports/*.js to Rakefile and build.xml (in sync with Makefile).
jaubourg [Fri, 10 Dec 2010 01:43:41 +0000 (02:43 +0100)]
Added xhr.js and transports/*.js to Rakefile and build.xml (in sync with Makefile).

13 years agoRewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here...
jaubourg [Thu, 9 Dec 2010 18:34:28 +0000 (13:34 -0500)]
Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here: oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195.

13 years agoBacking out cec68e2b00d86357c18b576cbaed52cc1ea42a74, was causing serialize tests...
jeresig [Thu, 9 Dec 2010 18:27:52 +0000 (13:27 -0500)]
Backing out cec68e2b00d86357c18b576cbaed52cc1ea42a74, was causing serialize tests to fail. Un-fixes #5566.

13 years agoBacking out fb6c038bf00296480234c971a1664ac01ca1479e, was causing jQuery.param tests...
jeresig [Thu, 9 Dec 2010 18:07:44 +0000 (13:07 -0500)]
Backing out fb6c038bf00296480234c971a1664ac01ca1479e, was causing jQuery.param tests to fail - unfixes #7413.

13 years agoMerge branch 'explain-map-concat' of https://github.com/ajpiano/jquery into ajpiano...
jeresig [Thu, 9 Dec 2010 17:51:14 +0000 (12:51 -0500)]
Merge branch 'explain-map-concat' of https://github.com/ajpiano/jquery into ajpiano-explain-map-concat

13 years agoWhitespace correction
rwldrn [Thu, 9 Dec 2010 17:50:01 +0000 (12:50 -0500)]
Whitespace correction

13 years agoWhitespace correction
rwldrn [Thu, 9 Dec 2010 17:48:52 +0000 (12:48 -0500)]
Whitespace correction

13 years agoWhitespace correction
rwldrn [Thu, 9 Dec 2010 17:47:53 +0000 (12:47 -0500)]
Whitespace correction

13 years agoReorders condition at L65 for efficiency
rwldrn [Thu, 9 Dec 2010 17:44:52 +0000 (12:44 -0500)]
Reorders condition at L65 for efficiency

13 years agoMerge branch 'bug5566' of https://github.com/csnover/jquery into csnover-bug5566
jeresig [Thu, 9 Dec 2010 17:44:30 +0000 (12:44 -0500)]
Merge branch 'bug5566' of https://github.com/csnover/jquery into csnover-bug5566

13 years agoMerge branch 'attrFollowupFix' of https://github.com/jitter/jquery into jitter-attrFo...
jeresig [Thu, 9 Dec 2010 17:43:10 +0000 (12:43 -0500)]
Merge branch 'attrFollowupFix' of https://github.com/jitter/jquery into jitter-attrFollowupFix

13 years agoMerge branch 'rfxnum' of https://github.com/lrbabe/jquery into lrbabe-rfxnum
jeresig [Thu, 9 Dec 2010 17:37:30 +0000 (12:37 -0500)]
Merge branch 'rfxnum' of https://github.com/lrbabe/jquery into lrbabe-rfxnum

13 years agoMerge branch 'support_6897' of https://github.com/rwldrn/jquery into rwldrn-support_6897
jeresig [Thu, 9 Dec 2010 17:33:26 +0000 (12:33 -0500)]
Merge branch 'support_6897' of https://github.com/rwldrn/jquery into rwldrn-support_6897

13 years agoMerge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413
jeresig [Thu, 9 Dec 2010 17:32:15 +0000 (12:32 -0500)]
Merge branch 'bug_7413' of https://github.com/rwldrn/jquery into rwldrn-bug_7413

13 years agoPrecising the unit part of rfxnum regex
louisremi [Thu, 9 Dec 2010 09:23:45 +0000 (10:23 +0100)]
Precising the unit part of rfxnum regex

13 years agoFix attr() problems in IE with attribute nodes. Followup to commit b50f41a2.
Anton M [Tue, 7 Dec 2010 02:17:42 +0000 (03:17 +0100)]
Fix attr() problems in IE with attribute nodes. Followup to commit b50f41a2.

IE can't add properties on an attribute-node element, thus we handle it
like text-/comment-nodes.

13 years agoClone fragments in domManip using jQuery.clone instead of DocumentFragment.cloneNode...
Colin Snover [Tue, 7 Dec 2010 01:37:16 +0000 (19:37 -0600)]
Clone fragments in domManip using jQuery.clone instead of DocumentFragment.cloneNode in order to carry over event data. Fixes #5566, #6997.

13 years agoClean up empty lines with whitespace in manipulation.js
Colin Snover [Tue, 7 Dec 2010 01:36:42 +0000 (19:36 -0600)]
Clean up empty lines with whitespace in manipulation.js

13 years agoMerge branch 'bug7524' of https://github.com/csnover/jquery into csnover-bug7524
John Resig [Mon, 6 Dec 2010 22:24:13 +0000 (17:24 -0500)]
Merge branch 'bug7524' of https://github.com/csnover/jquery into csnover-bug7524

13 years agoMerge branch 'bug6242' of https://github.com/csnover/jquery into csnover-bug6242
John Resig [Mon, 6 Dec 2010 22:23:08 +0000 (17:23 -0500)]
Merge branch 'bug6242' of https://github.com/csnover/jquery into csnover-bug6242

13 years agoMerge branch 'bug7531' of https://github.com/csnover/jquery into csnover-bug7531
John Resig [Mon, 6 Dec 2010 22:22:02 +0000 (17:22 -0500)]
Merge branch 'bug7531' of https://github.com/csnover/jquery into csnover-bug7531

13 years agoMerge branch 't6398' of https://github.com/jitter/jquery into jitter-t6398
John Resig [Mon, 6 Dec 2010 22:19:30 +0000 (17:19 -0500)]
Merge branch 't6398' of https://github.com/jitter/jquery into jitter-t6398

13 years agoMerge branch 't4386' of https://github.com/jitter/jquery into jitter-t4386
John Resig [Mon, 6 Dec 2010 22:14:20 +0000 (17:14 -0500)]
Merge branch 't4386' of https://github.com/jitter/jquery into jitter-t4386

13 years agoMerge branch 't7578' of https://github.com/jitter/jquery into jitter-t7578
John Resig [Mon, 6 Dec 2010 22:06:26 +0000 (17:06 -0500)]
Merge branch 't7578' of https://github.com/jitter/jquery into jitter-t7578

13 years agoMerge branch 't5476' of https://github.com/jitter/jquery into jitter-t5476
John Resig [Mon, 6 Dec 2010 22:05:02 +0000 (17:05 -0500)]
Merge branch 't5476' of https://github.com/jitter/jquery into jitter-t5476

13 years agoMerge branch 'restrictAttr' of https://github.com/jitter/jquery into jitter-restrictAttr
John Resig [Mon, 6 Dec 2010 22:02:00 +0000 (17:02 -0500)]
Merge branch 'restrictAttr' of https://github.com/jitter/jquery into jitter-restrictAttr

13 years agoMerge branch 't7673' of https://github.com/jitter/jquery into jitter-t7673
John Resig [Mon, 6 Dec 2010 21:57:41 +0000 (16:57 -0500)]
Merge branch 't7673' of https://github.com/jitter/jquery into jitter-t7673

13 years agoMerge branch 'jquery145' of https://github.com/danheberden/jquery into danheberden...
John Resig [Mon, 6 Dec 2010 21:38:51 +0000 (16:38 -0500)]
Merge branch 'jquery145' of https://github.com/danheberden/jquery into danheberden-jquery145

13 years agoOnly try to get data attributes for a jQuery-wrapped object if it is actually an...
Colin Snover [Fri, 3 Dec 2010 07:19:39 +0000 (01:19 -0600)]
Only try to get data attributes for a jQuery-wrapped object if it is actually an Element node. Fixes #7524.

13 years agoFix memory leaks in IE caused by the custom abort function of $.ajax. Fixes bug ...
Colin Snover [Fri, 3 Dec 2010 06:12:52 +0000 (00:12 -0600)]
Fix memory leaks in IE caused by the custom abort function of $.ajax. Fixes bug #6242.

13 years agoHandle carriage return characters in className property. Fixes #7673.
Anton M [Wed, 1 Dec 2010 20:31:22 +0000 (21:31 +0100)]
Handle carriage return characters in className property. Fixes #7673.

13 years agoAdd a comment explaining that jQuery.map flattens arrays
adam j. sontag [Sat, 27 Nov 2010 22:15:33 +0000 (17:15 -0500)]
Add a comment explaining that jQuery.map flattens arrays

13 years agoAdd unit test for fix to #7578.
Anton M [Wed, 24 Nov 2010 22:35:26 +0000 (23:35 +0100)]
Add unit test for fix to #7578.

13 years agoFix for #6911 - prevent disabled elements in liveHandler
danheberden [Mon, 22 Nov 2010 00:54:56 +0000 (16:54 -0800)]
Fix for #6911 - prevent disabled elements in liveHandler

13 years agoMake sure custom events named "submit" can be bound to non DOM elements in IE too...
Anton M [Sun, 21 Nov 2010 03:31:04 +0000 (04:31 +0100)]
Make sure custom events named "submit" can be bound to non DOM elements in IE too. Fixes 6398.

13 years agoMake sure IE clones body elements correctly. Fixes 4386.
Anton M [Sun, 21 Nov 2010 00:58:46 +0000 (01:58 +0100)]
Make sure IE clones body elements correctly. Fixes 4386.

13 years agoSet cache to false as default for script or json requests. Fixes 7578.
Anton M [Fri, 19 Nov 2010 22:14:24 +0000 (23:14 +0100)]
Set cache to false as default for script or json requests. Fixes 7578.

13 years agoImprove performance of get() for negative indices. Fixes #5476.
Anton M [Fri, 19 Nov 2010 11:28:13 +0000 (12:28 +0100)]
Improve performance of get() for negative indices. Fixes #5476.

13 years agoOptimize for size instead of speed.
Colin Snover [Wed, 17 Nov 2010 20:50:05 +0000 (14:50 -0600)]
Optimize for size instead of speed.

13 years agoCoerce s.url to string before calling replace, since replace is also a method of...
Colin Snover [Wed, 17 Nov 2010 06:59:24 +0000 (00:59 -0600)]
Coerce s.url to string before calling replace, since replace is also a method of a Location object. Fixes #7531.

13 years agoMake sure attr() works on non DOM element nodes. Fixes #7202, #7451, #7500.
Anton M [Sat, 13 Nov 2010 13:39:28 +0000 (14:39 +0100)]
Make sure attr() works on non DOM element nodes. Fixes #7202, #7451, #7500.

Also added some tests for this attr(name), attr(name, value) and removeAttr(name).

13 years agoConvert test/data/text.php to use lf line endings.
Henri Wiechers [Fri, 12 Nov 2010 05:45:24 +0000 (07:45 +0200)]
Convert test/data/text.php to use lf line endings.

13 years agoConvert test/delegatetest.html to use lf line endings.
Henri Wiechers [Fri, 12 Nov 2010 05:42:53 +0000 (07:42 +0200)]
Convert test/delegatetest.html to use lf line endings.

13 years agoMark *.jar files as binary.
Henri Wiechers [Fri, 12 Nov 2010 05:41:44 +0000 (07:41 +0200)]
Mark *.jar files as binary.

13 years agoChanged crlf attribute to newer eol one.
Henri Wiechers [Fri, 12 Nov 2010 05:40:19 +0000 (07:40 +0200)]
Changed crlf attribute to newer eol one.

13 years agoUpdating the source version to 1.4.5pre.
John Resig [Fri, 12 Nov 2010 00:05:10 +0000 (19:05 -0500)]
Updating the source version to 1.4.5pre.

13 years agoTagging the 1.4.4 release.
John Resig [Fri, 12 Nov 2010 00:04:53 +0000 (19:04 -0500)]
Tagging the 1.4.4 release.

13 years agoUpdating the source version to 1.4.4pre.
jeresig [Wed, 10 Nov 2010 16:15:02 +0000 (11:15 -0500)]
Updating the source version to 1.4.4pre.

13 years agoTagging the 1.4.4rc3 release.
jeresig [Wed, 10 Nov 2010 16:14:53 +0000 (11:14 -0500)]
Tagging the 1.4.4rc3 release.

13 years agoUpdating #7397 unit tests to correctly test for a persisted display value
rwldrn [Wed, 10 Nov 2010 15:23:48 +0000 (10:23 -0500)]
Updating #7397 unit tests to correctly test for a persisted display value

13 years agoBacking out commit 795e880bba1f7f949df58748f7fd92e50296a8f4 - errors popping up in...
jeresig [Wed, 10 Nov 2010 04:42:05 +0000 (23:42 -0500)]
Backing out commit 795e880bba1f7f949df58748f7fd92e50296a8f4 - errors popping up in IE 6/7/8.

13 years agoNeed to also handle the case where 'auto' is being returned, as in Firefox. Follow...
jeresig [Wed, 10 Nov 2010 04:33:18 +0000 (23:33 -0500)]
Need to also handle the case where 'auto' is being returned, as in Firefox. Follow-up to #7395.

13 years agoMaintain returning 0px from width/height for disconnected nodes for backwards compat...
jeresig [Wed, 10 Nov 2010 04:29:26 +0000 (23:29 -0500)]
Maintain returning 0px from width/height for disconnected nodes for backwards compat, for now. Fixes #7395.

13 years agoFixes #7397; Adds 4 supporting unit tests.
rwldrn [Wed, 10 Nov 2010 04:18:16 +0000 (23:18 -0500)]
Fixes #7397; Adds 4 supporting unit tests.

13 years agoPartially revert commit a64dc0405064d68c7b7cd0f0fc8ea60086cbcd21.
Anton M [Tue, 9 Nov 2010 23:36:53 +0000 (00:36 +0100)]
Partially revert commit a64dc0405064d68c7b7cd0f0fc8ea60086cbcd21.

Removing the conditional was too liberal as now attr() would even work
on plain javascript objects. Keeping a check to make sure it is at least
a DOM Node is appropriate. Using nodeName as in the commit which introduced
the nodeType === 1 check seems plausible.

13 years agoClean #7397; Removed unnec. var declaration
rwldrn [Tue, 9 Nov 2010 23:20:27 +0000 (18:20 -0500)]
Clean #7397; Removed unnec. var declaration

13 years agoFixes #7397; 4 supporting unit tests
rwldrn [Tue, 9 Nov 2010 23:06:33 +0000 (18:06 -0500)]
Fixes #7397; 4 supporting unit tests

13 years agoSupport unit test for #6897
rwldrn [Tue, 9 Nov 2010 21:31:52 +0000 (16:31 -0500)]
Support unit test for #6897

13 years agoFixes #7413; isEmptyObject() check to see if obj passes isPlainObject
rwldrn [Tue, 9 Nov 2010 21:14:11 +0000 (16:14 -0500)]
Fixes #7413; isEmptyObject() check to see if obj passes isPlainObject

13 years agoRemove conditional that prevents attr from working on non-Element nodes. Fixes #7451.
Colin Snover [Tue, 9 Nov 2010 20:52:20 +0000 (15:52 -0500)]
Remove conditional that prevents attr from working on non-Element nodes. Fixes #7451.

13 years agoMerge branch 'fixAdjacentTests' of https://github.com/jitter/jquery into jitter-fixAd...
John Resig [Tue, 9 Nov 2010 20:49:07 +0000 (15:49 -0500)]
Merge branch 'fixAdjacentTests' of https://github.com/jitter/jquery into jitter-fixAdjacentTests

13 years agoEnsure that unquoted attribute selectors are quoted (allowing them to go into qSA...
John Resig [Tue, 9 Nov 2010 19:03:11 +0000 (14:03 -0500)]
Ensure that unquoted attribute selectors are quoted (allowing them to go into qSA/matchesSelector properly). Fixes #7216.

13 years agoMake sure that if an additional load event is triggered (such as an iframe being...
John Resig [Tue, 9 Nov 2010 18:44:06 +0000 (13:44 -0500)]
Make sure that if an additional load event is triggered (such as an iframe being dynamically injected in DOM ready) the ready event isn't triggered twice. Fixes #7352.

13 years agoMerge branch 'bug7422' of https://github.com/csnover/jquery into csnover-bug7422
John Resig [Tue, 9 Nov 2010 17:40:55 +0000 (12:40 -0500)]
Merge branch 'bug7422' of https://github.com/csnover/jquery into csnover-bug7422

13 years agoFix selector tests broken by newer version of Qunit.
Anton M [Tue, 9 Nov 2010 17:13:39 +0000 (18:13 +0100)]
Fix selector tests broken by newer version of Qunit.

13 years agoMake sure that when multiple variables are being declared that assignments are each...
John Resig [Tue, 9 Nov 2010 16:09:07 +0000 (11:09 -0500)]
Make sure that when multiple variables are being declared that assignments are each done on their own line.

13 years agoWe don't do end of line comments, move them above.
John Resig [Tue, 9 Nov 2010 15:34:32 +0000 (10:34 -0500)]
We don't do end of line comments, move them above.

13 years agoEnsure that AJAX requests are actually aborted in all browsers. Fix #7422.
Colin Snover [Sat, 6 Nov 2010 18:52:30 +0000 (13:52 -0500)]
Ensure that AJAX requests are actually aborted in all browsers. Fix #7422.

13 years agoMerge branch 'master' of github.com:jquery/jquery
jeresig [Wed, 3 Nov 2010 23:00:05 +0000 (19:00 -0400)]
Merge branch 'master' of github.com:jquery/jquery

13 years agoLimit the scope of the CSS 'auto' change to just height/width. Fixes #7393.
jeresig [Wed, 3 Nov 2010 22:59:55 +0000 (18:59 -0400)]
Limit the scope of the CSS 'auto' change to just height/width. Fixes #7393.

13 years agoLimit the scope of the CSS 'auto' change to just height/width. Fixes #7293.
jeresig [Wed, 3 Nov 2010 22:57:22 +0000 (18:57 -0400)]
Limit the scope of the CSS 'auto' change to just height/width. Fixes #7293.

13 years agoUpdating the source version to 1.4.4pre.
jeresig [Wed, 3 Nov 2010 19:46:40 +0000 (15:46 -0400)]
Updating the source version to 1.4.4pre.

13 years agoTagging the 1.4.4rc2 release.
jeresig [Wed, 3 Nov 2010 19:46:31 +0000 (15:46 -0400)]
Tagging the 1.4.4rc2 release.

13 years agoOpera doesn't give height/width of display: none elements with getComputedStyle but...
jeresig [Wed, 3 Nov 2010 19:39:28 +0000 (15:39 -0400)]
Opera doesn't give height/width of display: none elements with getComputedStyle but does with currentStyle - fall back to that if it exists.

13 years agoOnly change ID on nodes that don't already have an ID for rooted qSA. Fixes #7212.
jeresig [Mon, 1 Nov 2010 23:29:11 +0000 (19:29 -0400)]
Only change ID on nodes that don't already have an ID for rooted qSA. Fixes #7212.