Andrew Dupont
|
ae667274f7
|
Removed two incorrect string tests.
|
2009-02-26 00:08:08 -06:00 |
Andrew Dupont
|
043653a282
|
Make sure `getAttribute` is used without flag when accessing the "type" attribute of an iframe (IE throws error otherwise). [#118 state:resolved] (Zekid, kangax)
|
2009-02-23 20:20:21 -06:00 |
Andrew Dupont
|
e9bdaef0af
|
String#gsub should escape RegExp metacharacters when the first argument is a string. [#469 state:resolved] (michael, kangax)
|
2009-02-23 20:13:41 -06:00 |
Andrew Dupont
|
e3845ba0f6
|
Fix order of replacement in String#unescapeHTML [#544 state:resolved] (SWeini, kangax)
|
2009-02-23 20:07:43 -06:00 |
Andrew Dupont
|
432a9422d6
|
Fix issue where a Selector query rooted on a node that had not been attached to the document failed in IE. [#464 state:resolved] (jddalton, kangax, Douglas Fraser, Andrew Dupont)
|
2009-02-22 15:59:01 -06:00 |
Andrew Dupont
|
8fe518719e
|
Fix Selector to match elements with attributes containing hyphens. [#285 state:resolved] (leiyou, jddalton, kangax)
|
2009-02-22 15:16:19 -06:00 |
Andrew Dupont
|
dc9d274d89
|
Make sure Form.reset always returns a reference to the receiver element. [#309 state:resolved] (Phil, kangax)
|
2009-02-22 15:11:40 -06:00 |
Samuel Lebeau
|
ceb7b72621
|
Avoid String#sub with empty pattern to make endless loop [#534 state:resolved]
Signed-off-by: Sam Stephenson <sam@37signals.com>
|
2009-02-11 10:12:28 +08:00 |
savetheclocktower
|
31d1c6fd48
|
Further fix to ensure Object#is(String|Number) do not throw exceptions on host objects in IE. [#510 state:resolved]
|
2009-01-05 10:49:09 -06:00 |
Andrew Dupont
|
9f5c40c744
|
Ensure Enumerable#grep can handle strings with RegExp metacharacters. [#257 state:resolved]
|
2008-12-19 18:50:08 -06:00 |
Andrew Dupont
|
07506e648b
|
Fix issue where Object#isString and Object#isNumber return false for String and Number "wrapper" objects. [#375 state:resolved]
|
2008-12-15 20:31:18 -06:00 |
savetheclocktower
|
c4f6066d2c
|
Allow Element#store to accept an object containing several key/value pairs.
|
2008-12-15 09:51:16 -06:00 |
savetheclocktower
|
1ca385b18c
|
Change Element#retrieve to return the element itself (for chaining).
|
2008-12-15 09:41:10 -06:00 |
savetheclocktower
|
f8a25223d0
|
Add tests for Element#retrieve.
|
2008-12-15 09:37:12 -06:00 |
Tobie Langel
|
2403e3e8ce
|
Remove useless base_test fixtures.
|
2008-12-15 00:46:18 +01:00 |
Andrew Dupont
|
bc899339a9
|
Remove redundant tests from base_test.js.
|
2008-12-14 03:40:15 -06:00 |
Andrew Dupont
|
3b21105237
|
Alter event system to use new element storage API rather than have its own global hashtable.
|
2008-12-14 01:35:49 -06:00 |
Andrew Dupont
|
3977e66796
|
Added Element#store and Element#retrieve for safe, hash-backed storage of element metadata (no memory leaks). Also added Element#getStorage for working with the element's storage hash directly. Hat tip: Mootools.
|
2008-12-12 23:53:39 -06:00 |
Tobie Langel
|
99f74b526a
|
Add caja_builder for optional cajoled tests.
|
2008-12-12 13:55:28 +01:00 |
Tobie Langel
|
52a781ae2a
|
Switch to UnittestJS.
|
2008-12-11 18:01:31 +01:00 |
Tobie Langel
|
7f6b3e81a2
|
Overwrite Array#concat method for handling the arguments object in Opera.
|
2008-12-11 17:03:10 +01:00 |
Tobie Langel
|
2525b21be2
|
Reorganized unit tests to match the file structure of the source.
|
2008-12-11 12:06:00 +01:00 |
Andrew Dupont
|
54bf343560
|
Fix issue where Function#argumentNames returned incorrect results in IE when comments were intermixed with argument names. [#397 state:resolved]
|
2008-12-11 12:02:26 +01:00 |
Tobie Langel
|
26ca9c3969
|
Add missing var declarations in unit tests.
|
2008-09-08 00:48:24 -07:00 |
Andrew Dupont
|
d88c25fd47
|
Ensure Object.isElement handles "falsy" values properly.
|
2008-09-07 19:26:21 -07:00 |
Andrew Dupont
|
b31f642e64
|
Ensure Hash does not return keys from the prototype chain (e.g., constructor, valueOf, toString).
|
2008-09-07 19:20:38 -07:00 |
Andrew Dupont
|
64002a9083
|
Fix toString/valueOf sharing same method reference via closure in Class#addMethods. Use plain property assignment, since Object.extend fails to enumerate over toString/valueOf.
|
2008-09-07 19:19:21 -07:00 |
Andrew Dupont
|
67107651c2
|
Update DOM unit tests to avoid failing on Element#replace tests in Opera.
|
2008-09-07 16:53:33 -07:00 |
jdalton
|
1d0fb77ec3
|
Force Element.Methods.Simulated.hasAttribute() to return a boolean value.
|
2008-09-07 16:30:11 -07:00 |
Andrew Dupont
|
b49c572fa0
|
Stop Form.Element.disable from stealing focus.
|
2008-09-07 10:58:47 -07:00 |
Tobie Langel
|
ae707f4475
|
Fix an issue where Element#getStyle('height') returns null if the height is set to "auto."
|
2008-09-03 18:27:04 -07:00 |
Tobie Langel
|
919b952ec3
|
Add unit tests for Element#descendantOf.
|
2008-09-03 16:42:31 -07:00 |
Tobie Langel
|
6847d27509
|
Form#serializeElements should not serialize file inputs.
|
2008-09-03 16:33:03 -07:00 |
Tobie Langel
|
b4ea2abda1
|
Element#down on an input element should not raise error.
|
2008-09-03 14:16:32 -07:00 |
Tobie Langel
|
fecdee6f63
|
More unit tests for Object.isHash.
|
2008-09-03 12:19:15 -07:00 |
Tobie Langel
|
206a4c824f
|
Allow Function#argumentNames to handle line breaks between arguments.
|
2008-09-03 12:17:53 -07:00 |
Samuel Lebeau
|
15b43b7633
|
Add context argument to Number#times
|
2008-09-03 11:45:59 -07:00 |
Thomas Fuchs
|
49b921a5c7
|
ignore DS_Store files
|
2008-09-03 11:45:15 -07:00 |
Tobie Langel
|
5a1ef1e05c
|
Fix Function#argumentNames.
|
2008-09-03 11:44:47 -07:00 |
Andrew Dupont
|
2c03d1a837
|
Amended failing Element#identify test.
|
2008-09-02 18:48:27 -07:00 |
Tobie Langel
|
cf5d18097e
|
refactored unit tests quite a bit. Added JS and CSS fixtures.
|
2008-09-02 18:19:41 -07:00 |
Tobie Langel
|
81de0e3a77
|
seperated test files into JS and HTML fixtures. Added Ruby test file builder and test template.
|
2008-04-16 16:51:20 +02:00 |
Andrew Dupont
|
ab8cc48b8d
|
Account for context to assure Element#down, et al., work properly with Selectors API.
|
2008-03-31 12:51:44 -05:00 |
Andrew Dupont
|
ee52460014
|
Refactored unittest.js so that it does not rely on Selector methods. (Easier to debug Selector test failures.)
|
2008-03-31 12:07:46 -05:00 |
Andrew Dupont
|
03c1530014
|
Integrate support for the W3C Selectors API into the Selector class. Will now use the API when possible (browser supports the API *and* recognizes the given selector). Means minor changes to the semantics of :enabled, :disabled, and :empty in order to comply with CSS spec.
|
2008-03-27 01:18:15 -05:00 |
Tobie Langel
|
598387f137
|
prototype: Prevent Hash#toQueryString from serializing objets.
|
2008-03-19 13:01:47 +00:00 |
Tobie Langel
|
2ab483b695
|
prototype: unit tests clean-up.
|
2008-03-16 19:47:17 +00:00 |
Tobie Langel
|
c01cb850c1
|
prototype: Remove usage of the statement from unit tests.
|
2008-03-16 18:53:51 +00:00 |
Tobie Langel
|
addfdef8ff
|
prototype: Make Element#writeAttribute handle frameborder attribute in IE. Closes #11068.
|
2008-03-09 08:05:29 +00:00 |
Tobie Langel
|
c7e0a3d93c
|
prototype: Make String#unescapeHTML strip tags in IE. Closes #10173.
|
2008-03-09 07:21:45 +00:00 |