Commit Graph

367 Commits

Author SHA1 Message Date
Andrew Dupont 6f6b73cc75 Fix error in event.js which prevented attaching more than one responder for an event name/element combination. [#651 state:resolved] (Rob Lineweaver) 2009-05-02 13:48:41 -05:00
Juriy Zaytsev c480bd7b97 Do not sniff when testing for IE's proprietary mouseenter/mouseleave events support. Use more robust inference instead. 2009-03-28 19:45:33 -04:00
Andrew Dupont fd46f6bbcf Bump version number. 2009-03-27 17:59:59 -05:00
Juriy Zaytsev 6c38d84254 Revert Opera title fix 2009-03-25 01:19:28 -04:00
Juriy Zaytsev 3e3b470009 Use feature testing in `Element#readAttribute` when taking care of Opera's `getAttribute('title')` quirk 2009-03-24 23:33:17 -04:00
Juriy Zaytsev d4c182c03d Use `Prototype.emptyFunction` consistently throughout unit tests. [#253 state:resolved] 2009-03-24 07:59:32 -04:00
Tobie Langel 827e6ee1ae deprecation extension: mark Array#reduce() as removed. [#569 state:resolved] (Tobie Langel) 2009-03-23 16:06:01 +01:00
Juriy Zaytsev 0b4e142d8a `Form.serialize` now works safely with forms that have "length"-named elements. [#77 state:resolved] 2009-03-23 00:15:34 -04:00
Juriy Zaytsev 71a8663370 `Element#update` now takes care of SCRIPT elements in IE. [#573 state:resolved] 2009-03-22 19:04:04 -04:00
Juriy Zaytsev 2c986d8eaf Remove unused local variables. Fix failing form test. 2009-03-22 10:53:08 -04:00
Juriy Zaytsev fa15f212fa Fix `escapeHTML` in Chrome by using a more strict check. 2009-03-22 01:12:45 -04:00
Juriy Zaytsev dee8a1010c Fix faulty DOM test. 2009-03-21 22:23:14 -04:00
Juriy Zaytsev 0e63247604 Make `Element.extend` take care of IE8 HTMLAppletElement and HTMLObjectElement objects bug. 2009-03-21 22:10:03 -04:00
Juriy Zaytsev eaa8b949c8 Fix another DOM test to pass in IE8. 2009-03-21 21:09:55 -04:00
Juriy Zaytsev 06068431f7 Fix for/htmlFor translation in IE8 2009-03-20 18:08:34 -04:00
Juriy Zaytsev 30c1935cdb Fix `writeAttribute` and `readAttribute` failures in IE8. Use proper feature testing when taking care of getAttribute/setAttribute glitches. 2009-03-20 17:33:56 -04:00
Juriy Zaytsev 25a38aa717 resolve conflict 2009-03-20 16:27:28 -04:00
Juriy Zaytsev a97c044361 Remove sniffing from one of the DOM tests, making it pass in IE8. 2009-03-20 16:26:08 -04:00
Juriy Zaytsev 4b9bf985a2 Fix Form.reset test in IE 2009-03-20 16:23:38 -04:00
Juriy Zaytsev 88d7671f0d Fix Form.reset test in IE 2009-03-20 16:10:39 -04:00
Juriy Zaytsev b34355653e Remove Array#reduce [#569 state:resolved] 2009-03-20 12:05:02 -04:00
Juriy Zaytsev c7a5d3480e Make sure try/catch/finally is used instead of try/finally [#421 state:resolved] 2009-03-19 16:47:07 -04:00
Juriy Zaytsev 1a375daea2 Remove sniffing from `$A` by using `in` operator when accessing property of a nodelist. 2009-03-19 16:22:37 -04:00
Andrew Dupont 4fefe32876 Add Element#clone as a safe wrapper of native `cloneNode`. (Andrew Dupont, kangax) 2009-03-10 12:22:56 -05:00
Andrew Dupont 8f697f3e85 Add tests to ensure IE8 properly assigns a class name in the `Element` constructor. [#529 state:resolved] (Riki Fridrich, Andrew Dupont) 2009-03-08 20:27:38 -05:00
Andrew Dupont fa12b00111 Remove sniffing from `Element` when detecting broken `setAttribute` in IE. [#571 state:resolved] (kangax) 2009-03-08 18:18:55 -05:00
Andrew Dupont ba2c26090b Remove sniffing from `Element.update` branching in favor of feature detection. [#574 state:resolved] 2009-03-08 18:16:02 -05:00
Andrew Dupont 7833e8c909 Remove sniffing when branching `escapeHTML` and `unescapeHTML`. [#570 state:resolved] (kangax) 2009-03-08 18:02:09 -05:00
Andrew Dupont e88f22e0c3 Redefine Element#down in IE 6-7 to avoid extending all descendants when no selector is given. [#452 state:resolved] (eno, Andrew Dupont) 2009-02-28 12:18:31 -06:00
Andrew Dupont 4a0b9b7c1d Reverse the definitions of Event#pointer(X|Y) and Event#pointer to prevent unnecessary computation. [#403 state:resolved] (Nick Stakenburg, Andrew Dupont). 2009-02-28 12:16:12 -06:00
Andrew Dupont 9d7a981e4c Add first-class support for `mouseenter` and `mouseleave` events in non-IE browsers (IE supports them natively). [#350 state:resolved] (Nick Stakenburg, Andrew Dupont) 2009-02-28 10:07:08 -06:00
Andrew Dupont 682a55c2d3 Make sure `_extendedByPrototype`, `_countedByPrototype`, and `prototypeUID` node expandos are accessed with `typeof` to prevent errors in some environments. [#354 state:resolved] (Hilberty, kangax, Andrew Dupont) 2009-02-28 04:48:57 -06:00
Andrew Dupont 26eaa4300b Fix issue where Opera 9.x returns incorrect results on certain Selector queries with descendant combinators. [#395 state:resolved] (Arpan, fearphage, kangax, Andrew Dupont) 2009-02-28 04:41:55 -06:00
Andrew Dupont d22a9988fa Null out references to elements in cache on page unload. Need this in addition to the Event#stopObserving calls to clean up memory leaks. [#425 state:resolved] (ykphuah, mr_justin, Andrew Dupont) 2009-02-27 16:45:51 -06:00
Andrew Dupont 47abfa68f0 Ensure `toString` and `valueOf` properties are copied to a subclass only when necessary in IE6. [@382 state:resolved] (Samuel Lebeau) 2009-02-27 16:35:05 -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
Andrew Dupont 97fc24a0b2 Escape ":" and "." characters when doing contextual CSS selection in browsers that support querySelectorAll. [#559 state:resolved] (fxtentacle, Andrew Dupont) 2009-02-22 12:45:00 -06:00
Andrew Dupont 91b787ae17 Ensure the `target` property on events is never undefined in IE. [#383 state:resolved] 2009-02-21 23:27:18 -06:00
Andrew Dupont ab1313ea20 Ensure Element#descendants always returns an array. [#373 state:resolved] 2009-02-18 10:34:01 -06:00
sstephenson 463141edc5 Update CHANGELOG 2009-02-10 19:20:19 -07:00
Sam Stephenson 9bb3d7517d Update CHANGELOG 2009-02-10 11:26:14 -06:00
Andrew Dupont 997689fcea Switch Object.is(Array|String|Number) to use the vastly-superior approach discovered by Juriy. 2009-01-11 18:26:26 -06: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 e9e8c7fbe5 Switch to the "doScroll approach" for the dom:loaded custom event. [#127 state:resolved] 2008-12-16 22:52:24 -06:00