aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Made the getAttribute check more explicit - comment nodes don't have ↵John Resig2009-01-231-1/+2
| | | | getAttribute in XUL documents. Fixes jQuery bug #3870.
* Bumping Sizzle version to 0.9.3.John Resig2009-01-221-1/+1
|
* Added some additional checks to make sure that the correct methods are being ↵John Resig2009-01-211-4/+4
| | | | used in IE on XML documents.
* Bumping the version of Sizzle up to 0.9.2.John Resig2009-01-211-1/+1
|
* A follow-up for bug #3945. ID selectors don't work in querySelectorAll on ↵John Resig2009-01-211-1/+3
| | | | XML documents, so we just fall back to the normal engine.
* Make sure that [name=foo] and #id selectors don't use the native methods on ↵John Resig2009-01-211-7/+9
| | | | XML documents (since id and name attributes may not be defined by a DTD and will return nothing instead. Fixes jQuery bug #3945.
* Now handle the case where Safari's querySelectorAll fails on uppercase ↵John Resig2009-01-211-1/+8
| | | | characters in quirks mode. Added a test to check for it and re-worked some of the existing tests to better handle document order issues. Fixes jQuery bug #3840.
* After discussing it with a number of users I've decided to revert the change ↵John Resig2009-01-211-1/+1
| | | | to [name!=value]. It is now equal to :not([attr!=value]). Attempting to switch it to [attr]:not([attr!=value]) produced some really non-obvious results and confused users. Fixes jQuery bug #3884.
* CHILD positions were being cached improperly. Tweaked it and added a test to ↵John Resig2009-01-211-1/+1
| | | | make sure it doesn't happen again. Fixes jQuery bug #3924.
* Fixed a missing semicolon. Fixes jQuery bug #3927.John Resig2009-01-201-1/+1
|
* Added a performance improvement to preFilter.CLASS from LosT on the ↵John Resig2009-01-201-4/+5
| | | | Sizzle.js mailing list.
* Added support for a[name^='foo['] style selectors. Fies jQuery bug #3928.John Resig2009-01-201-1/+1
|
* Made sure that a child element exists before the check is done, fixes jQuery ↵John Resig2009-01-191-1/+1
| | | | bug #3870.
* Re-worked the logic for handling isXML detection.John Resig2009-01-191-2/+2
|
* Fixed the logic for determining if an XML file is being used. Fixes jQuery ↵John Resig2009-01-191-2/+2
| | | | bug #3896.
* Merged some recent fixes in from Sizzle.John Resig2009-01-191-43/+41
|
* Merged Sizzle changes back into jQuery.John Resig2009-01-131-11/+26
|
* Merged in from Sizzle - a change to child filter selector logic.John Resig2009-01-121-2/+2
|
* Merged in a fix from Sizzle for :not(:first).John Resig2009-01-121-0/+4
|
* Merging the latest from Sizzle.John Resig2009-01-111-29/+36
|
* Merged in a missing argument from Sizzle.John Resig2009-01-071-1/+1
|
* Landed a number of improvements to the selector engine. Results are ↵John Resig2009-01-071-24/+52
| | | | | | | auto-merged onto the jQuery object, class filtering is now done inline, and not filtering is more efficient.
* jquery selector: Replacing {0,1} for ? in a regex.Ariel Flesler2009-01-051-1/+1
|
* Oops, order of operations.John Resig2009-01-051-1/+1
|
* Brought in a fix from Sizzle - IE doesn't have .contains on XML elements.John Resig2009-01-051-1/+1
|
* Merging from Sizzle (fixed a bug when querySelectorAll is used.John Resig2009-01-051-3/+4
|
* Synced with the Sizzle repository.John Resig2009-01-051-44/+35
|
* jquery selector: Removed a needless line (related to [5992]).Ariel Flesler2008-12-251-1/+0
|
* Synced with Sizzle codebase (which removed the use of the caching code).John Resig2008-12-221-18/+0
|
* Syncing Sizzle codebase.John Resig2008-12-201-10/+10
|
* Landing the new Sizzle selector engine. There'll need to be some later ↵John Resig2008-12-201-350/+785
| | | | tweaks (to make the tests a little more pragmatic - especially for document order elements). But it appears to be passing well and that's enough. Closes #3563.
* Standardized the type checks across core. isFunction and isArray now use ↵John Resig2008-11-171-4/+4
| | | | Object.prototype.toString to verify the type, .constructor use was removed in favor of typeof, typeof checks now use ===, undefined checks use === undefined. All of this is outlined in the new style guidelines: http://docs.jquery.com/JQuery_Core_Style_Guidelines#Type_Checks. Fixes bug #3618.
* jquery selector: closes #3023. The attribute filter accepts ':'.Ariel Flesler2008-07-281-1/+1
|
* jquery selector: closes #2939. $('[style]') wasn't being handled well.Ariel Flesler2008-07-281-1/+1
|
* jquery: removing unnecessary trailing and leading spaces & tabs.Ariel Flesler2008-05-131-12/+12
|
* fix small typo in commentEd Engelhardt2008-05-111-1/+1
|
* jquery selector: reverting [5343], check #1960.Ariel Flesler2008-05-061-22/+16
|
* jquery selector: removed needless check in jQuery.sibling.Ariel Flesler2008-05-021-1/+1
|
* core: make sure all source files end with a single blank line.Scott González2008-04-301-3/+0
|
* mainly made the code shorter:Ariel Flesler2008-04-291-5/+7
| | | | | | | | | | | - removed some needless if's - replace multiple "var x" for one, comma separated declaration. - added a local fn called now() for the (new Date)s - fixed the indentation of a block, and a typo in a comment. - used fn instead of prototype where possible - jquery fx: exposed the speeds hash as jQuery.fx.speeds. Also fixed (again) line endings
* Fixed line endings.Scott González2008-04-291-451/+451
|
* jquery core: fix for #1960, delegating to document.getElementsByName for ↵Jörn Zaefferer2008-04-281-445/+451
| | | | [name=...] selectors (not in combination with :not)
* De-eval'd selectors and the various DOM methods (will marginally help our ↵John Resig2008-01-261-41/+43
| | | | speed and make us more compatible with projects like Caja and Adobe AIR). Left a selector eval in for backwards compatibility support of selector plugins.
* Fixed #2077 by adding a var to make it a local variable instead of ↵David Serduke2007-12-191-1/+2
| | | | initializing a global one.
* Added some improvements to changes made in [4143] for #1854.John Resig2007-12-131-4/+3
|
* Fixed #1854 by using wizzud's suggestion. The only real difference is the ↵David Serduke2007-12-131-1/+5
| | | | code is only called when there is more than a single selector. So there should be no speed decrease in the current working cases. Only additional functionality for cases that used to fail.
* Fixed #1039 and #1733 by going through the core API and making them text ↵David Serduke2007-12-071-3/+3
| | | | node and comment node safe.
* A partial rollback of the refactoring done in [4032]. It was causing a 4-6% ↵David Serduke2007-12-051-5/+6
| | | | | | | speed decrease on certain hierarchy selectors ( > + and ~ ) since it did an extra .toUpperCase() which wasn't required. The part left in was moving one of the .toUpperCase() calls to the var nodeName instead of having it in the loop. This appears to be giving a speed boost of a couple percent for those same hierarchy selectors.
* Refactored jQuery.find() such that jQuery.nodeName() is used to test the ↵David Serduke2007-12-051-3/+3
| | | | node names like .filter() and other functions do. This puts in place possible fixes for tickets like #1991 where XML and HTML differ in case-sensitivity.
* Fixed #1727 bug where :nth-child() was non-standard with CSS3 plus two minor ↵David Serduke2007-11-161-9/+12
| | | | white space changes in selector.js.