aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector.js
Commit message (Collapse)AuthorAgeFilesLines
...
* No longer use arguments.callee or RegExp (use new RegExp, instead) for ES ↵John Resig2009-02-261-1/+1
| | | | 3.1 and Caja compatibility. Fixes jQuery bug #4251.
* As it turns out, the context was being started at a higher root than needed ↵John Resig2009-02-261-1/+1
| | | | - fixing this speeds up > selectors.
* Removed the need for the results set to have array methods. Resolves jQuery ↵John Resig2009-02-251-7/+10
| | | | bug #4250.
* Simplified the isXML function, no need to use recursion.John Resig2009-02-251-1/+1
|
* Expose the sort/unique code from Sizzle as Sizzle.uniqueSort().John Resig2009-02-251-10/+13
|
* Landed some improvements for improving the performance of ID-rooted queries ↵John Resig2009-02-251-23/+36
| | | | (e.g. '#foo p'). Fixes jQuery bug #4236.
* Tagged the Sizzle 1.0 release.John Resig2009-02-201-3/+2
|
* Switch to using createRange for element comparision instead of Array indexOf ↵John Resig2009-02-171-7/+9
| | | | checks - thanks for the tip, Ioseb.
* Brought back the compareDocumentPosition code. While it is redundant in ↵John Resig2009-02-171-2/+10
| | | | Firefox it's much faster than using indexOf.
* Added support for class selectors and class attribute selectors on XML ↵John Resig2009-02-161-8/+16
| | | | documents. Fixes jQuery bug #4167.
* Fixed an issue with :nth-child selectors embedded in :not() filters. Fixes ↵John Resig2009-02-161-20/+20
| | | | jQuery bug #4156.
* Changed the jQuery hidden/visible selectors to be a little more precise.John Resig2009-02-161-2/+2
|
* Change the behavior of how :visible and :hidden work. :hidden is when an ↵John Resig2009-02-161-6/+2
| | | | element is display none, a parent element is display none, or the element has a width of 0. :visible is when the element is not display none and all of its ancesotrs are not display none and its width is larger than 0. Fixes jQuery bugs #1349, #3265, and #3895.
* Fixed a bug with certain + selectors failing (Fixes jQuery bug #4023). Also ↵John Resig2009-02-161-9/+18
| | | | tweaked the + and > functions a little bit.
* Fixed the issue where weird characters were being used in ID selectors. ↵John Resig2009-02-151-1/+1
| | | | Fixes jQuery bug #3913.
* Make sure that [name=FOO] searches actually have the specified name (IE ↵John Resig2009-02-151-1/+8
| | | | includes elements that have the ID, as well).
* Added fixes for two different :not() bugs. One with p:not(p.foo) failing and ↵John Resig2009-02-151-3/+1
| | | | another with a weird combination of multiple selectors and filters. Fixes jQuery bug #4101.
* Provide a graceful failover for [name=foo] queries that are looking for ↵John Resig2009-02-141-2/+3
| | | | non-input/iframe/form elements. Fixes jQuery bug #4081.
* The compareDocumentPosition check was extraneous - indexOf works in all the ↵John Resig2009-02-141-13/+5
| | | | other browsers that we need to support.
* Added support for sorting in Safari - when querySelectorAll isn't able to be ↵John Resig2009-02-141-0/+11
| | | | used.
* Oops, the sourceIndex of the documentElement in IE is 1, not 0.John Resig2009-02-141-1/+1
|
* Make sure that elements are returned in document order - and that the ↵John Resig2009-02-141-0/+33
| | | | results are unique.
* Merging a bunch of changes back from Sizzle, by LosTFx.John Resig2009-02-101-65/+76
|
* Reworked the attribute selection code to be able to select false-y values - ↵John Resig2009-02-091-2/+11
| | | | and added some tests to verify that they work well against expandos.
* match[4] is already saved in check - thanks Balazs.John Resig2009-02-091-1/+1
|
* Added a fix for empty attribute selection values. Fixes jQuery bug #3990.John Resig2009-02-071-1/+1
|
* Added logic for not using getElementsByClassName in different failure ↵John Resig2009-02-071-2/+15
| | | | states. Fixes jQuery bugs #4058 and #4042.
* 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
|