Commit Graph

69 Commits

Author SHA1 Message Date
John Resig
80a149b828 Integrated the custom fx test suite into the main test suite. All tests are now run automatically. Removed the old suite, as it was no longer needed. 2007-07-29 19:07:21 +00:00
John Resig
f8b00051c3 $("#foo", xml) would always return an empty set, fixed (bug #877). Additionally, a bug in jQuery.isXMLDoc(xmlDoc) was discovered, if the element was, in fact, an XML document. 2007-07-25 00:56:50 +00:00
John Resig
bdf05d890f Added a fix for relative // - $("//div",this) (bug #1418) 2007-07-25 00:39:45 +00:00
John Resig
97a6bdbaba Added a fix for h1 + h2 not working. (Bug #1361) 2007-07-20 23:43:12 +00:00
John Resig
bdb5dad8e5 Final fix for Safari crasher (bug #1331). 2007-07-06 13:36:38 +00:00
John Resig
2278b24f70 Fix for Safari 1.3 crash (bug #1331). 2007-07-05 20:40:44 +00:00
Ed Engelhardt
28a80202b3 fix little typo in comment 2007-07-05 08:18:25 +00:00
John Resig
6f064fc9c5 Added fix for broken child selectors in XML documents, bug #1346. 2007-07-05 02:45:01 +00:00
John Resig
38d74fe912 Added a fix for bug #1331, which caused Safari 1.3 to crash. 2007-07-04 16:15:09 +00:00
John Resig
fa7bfcfd78 Fixed bug that prevented $= from working on elements that didn't have the specified attribute. 2007-07-04 16:10:26 +00:00
John Resig
ea98b16438 Who am I kidding |= is useless. 2007-06-29 21:52:45 +00:00
John Resig
e7a8310f65 Added minor support for |= and ~= selectors. 2007-06-29 21:43:22 +00:00
John Resig
88c88f0704 Added fix for :nth-child(n). 2007-06-29 21:08:46 +00:00
John Resig
7b9d825890 Added fix for broken :only-child. 2007-06-29 21:03:27 +00:00
John Resig
614706bbf2 Added extra last-child test. 2007-06-29 20:26:14 +00:00
John Resig
fd249ca808 Added massive speed improvements to selectors. Also added support for :nth-child(An+B) syntax. 2007-06-29 19:52:38 +00:00
Brandon Aaron
7c6100f5ed Fix for #1169 2007-05-13 17:20:03 +00:00
John Resig
7fa12b412b Rev [1827] broke the two XPath sibling selectors. 2007-05-01 21:36:01 +00:00
John Resig
c512984303 We're not adding new selector features in until a new full release. Please discuss features like this in the dev mailing list, and in the bug tracker, before committing code. 2007-05-01 21:31:26 +00:00
Corey Jewett
2e448273f5 TDD. Broken test case, need to fix xpath parser... 2007-04-30 17:31:51 +00:00
John Resig
74a8e20623 Query now throws no warnings under strict mode in Firefox (ticket #922). In fixing this, revision [1771] was discovered and reverted (no API changes are being added in at this time), and a couple un-functioning test cases were fixed (array comparisions were being done for objects). 2007-04-29 18:39:07 +00:00
John Resig
e95a6cc746 Forgot to remove the test cases for XPath [n]. (Ticket #995) 2007-04-28 15:45:38 +00:00
John Resig
09a2e48f45 Removed support for the XPath [n] - we weren't doing it right, and it would actually require a lot of code to "do it right" (much more than what the feature is immediately worth). See ticket #995. 2007-04-28 15:43:18 +00:00
John Resig
fce2bdf7ff Added support for finding elements that have underscores in their name (along with other allowed characters). Fix for ticket #1084. 2007-04-28 15:39:30 +00:00
Corey Jewett
2fac5e7949 Add RegExp style xpath attributes and testcases. e.g. [@foo =~ /bar/i] and [@foo !~ /bar/] 2007-04-13 17:48:04 +00:00
John Resig
9c94ef4c41 Added a number of additional speed gains (we now hold our own against Dojo and DOMQuery), touched up some of the selector code, fixed some minor bugs, fixed a bug with triggerEvent in Opera, fixed some more test case bugs. 2007-03-26 02:06:50 +00:00
John Resig
3446c3af76 Opera is also vulnerable to the getElementById-returning-name issue, fixed it there as well. Also had to tweak the UTF8 regexps to work in Safari (Safari doesn't support \uXXXX in RegExps, lame.) 2007-03-25 20:30:16 +00:00
John Resig
9c7f8ba90e Fixed some more bugs with the test suite, made some minor file size tweaks to the selector code. 2007-03-25 19:02:31 +00:00
John Resig
d7a8794eb5 Cleaned up a lot of the test suite - reorganized and renamed tests. Added a new triggerEvent() method to the test runner to help us better test actual event interactions. 2007-03-25 18:06:18 +00:00
Jörn Zaefferer
4e7c9b08a0 Added test for #945 2007-03-25 11:52:53 +00:00
John Resig
25b424134f 2007-03-25 02:45:12 +00:00
John Resig
ae208246fb Added support for escaping selectors in ID and Classname queries (#143). You need to be sure to double-escape selectors, though, as JavaScript requires it to get the right effect. 2007-03-25 02:04:03 +00:00
John Resig
af79bb1f25 Added UTF8 Selector support (#1001) and fixed infinite selector loops (#1025). You can now select elements by UTF8-based IDs, classes, and attributes. 2007-03-25 00:58:19 +00:00
John Resig
ec2b688920 Merged my speed improvements into the jQuery core (is actually 200b smaller now!). Additionally, added in some better reporting to the test suite, and fixed a bug with how selector tests were performmed. 2007-03-24 21:55:03 +00:00
John Resig
fde2867fce Added a fix for #891 (Using a /foo selector within a non-document context.) 2007-03-24 03:00:03 +00:00
John Resig
32b523b5c5 Added fix for #986 (ID selector within an element that doesn't exist). 2007-03-24 02:54:24 +00:00
John Resig
0f7c89cd97 Added a fix and test for bug #978 (Appending elements into an IFrame, in IE). 2007-03-24 02:03:47 +00:00
Brandon Aaron
44599e174b * Fixed IE ID selectors selecting by the name attribute and added tests
* Added href attribute test to test suite
* Updated Changelog
2007-02-23 02:53:22 +00:00
John Resig
4259b02c99 Added a test case for bug #986. 2007-02-22 21:54:56 +00:00
Brandon Aaron
2712efd0fc Update for src and href attribute selectors fix 2007-02-14 01:49:28 +00:00
Brandon Aaron
4c850c2ecd Fix the ^= type attribute selector in firefox for href. 2007-02-13 19:06:38 +00:00
John Resig
02ffee4610 Fixed the ~ selector - it was selecting in the wrong direction. 2007-02-04 16:51:34 +00:00
Jörn Zaefferer
4e256bffa3 Added test for #891 2007-01-31 21:25:58 +00:00
Jörn Zaefferer
c60d4519bc Added test for #895 2007-01-31 21:19:35 +00:00
John Resig
8fc9e06c46 Fixed an issue with child selectors that also have filters. 2007-01-22 05:33:28 +00:00
John Resig
8e105ef931 Added in jQuery.nodeName() to simplify checking nodeName constantly. 2007-01-22 05:27:54 +00:00
John Resig
31d65e9052 Fixed an issue with child selectors accidentally triggering filter mode. 2007-01-22 04:50:30 +00:00
John Resig
9141004442 Fixed some more nodeName inconsistencies. 2007-01-22 00:28:23 +00:00
John Resig
ddb3004a47 Fixed an issue with child selectors and XML documents (nodeName isn't in all-caps, and it was assumed that it was). 2007-01-22 00:25:16 +00:00
John Resig
34355cd698 Converted a lot of for loops to use jQuery.each() instead. 2007-01-14 21:49:59 +00:00