Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add sparse array performance improvement for inArray. Thanks rwaldron, ↵ | timmywil | 2011-09-19 | 1 | -1/+1 | |
| | | | | rkatic, and jdalton | |||||
* | Check for property support in the boolHook before falling back to attribute ↵ | timmywil | 2011-09-19 | 1 | -8/+12 | |
| | | | | node. Fixes #10278. | |||||
* | Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, ↵ | timmywil | 2011-09-19 | 1 | -7/+8 | |
| | | | | | | #9261, #9570, #10178. Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178. | |||||
* | Revert back to always setting the attribute to empty string before removal. ↵ | timmywil | 2011-08-25 | 1 | -8/+9 | |
| | | | | Fixes #9699. | |||||
* | Fixes assertion counts and dom element fixture issue | Rick Waldron | 2011-08-05 | 1 | -14/+14 | |
| | ||||||
* | Now using getAttributeNode in all attribute cases in IE6/7, which normalizes ↵ | timmywil | 2011-08-04 | 1 | -23/+22 | |
| | | | | attribute behaviors across browsers, is less hacky, and shortens the attribute code. Fixes #9980. | |||||
* | Make the tabIndex hook first a propHook and add it to attrHooks for ↵ | timmywil | 2011-08-04 | 1 | -0/+55 | |
| | | | | back-compat reasons. Fixes #9979. | |||||
* | Merge pull request #419 from rwldrn/9630 | Dave Methvin | 2011-08-04 | 1 | -0/+10 | |
|\ | | | | | Unit tests assert that .contents().hasClass() works as expected. Fixes #9630 | |||||
| * | Filter hasClass by nodeType 1; Fixes #9630 | rwldrn | 2011-06-22 | 1 | -1/+1 | |
| | | ||||||
| * | Assert that .contents().hasClass() works as expected. Fixes #9630 | rwldrn | 2011-06-21 | 1 | -0/+10 | |
| | | ||||||
* | | Check the attribute node value for false for HTML5 booleans when not ↵ | timmywil | 2011-07-09 | 1 | -8/+15 | |
|/ | | | | supported. Fixes #9504. | |||||
* | Allow similarly named classes (regression from 9499) and switch class ↵ | timmywil | 2011-06-19 | 1 | -4/+11 | |
| | | | | retrieval to property when passing class to value functions. Fixes #9617. | |||||
* | Attribute hooks do not need to be attached in XML docs. Fixes #9568. | timmywil | 2011-06-13 | 1 | -3/+4 | |
| | ||||||
* | Check classes passed for duplicates. Fixes #9499. | timmywil | 2011-06-07 | 1 | -2/+11 | |
| | ||||||
* | Landing pull request 382. Adds support for number values (meter,progress); ↵ | rwldrn | 2011-05-20 | 1 | -0/+24 | |
| | | | | | | | | Fixes #9319. More Details: - https://github.com/jquery/jquery/pull/382 - http://bugs.jquery.com/ticket/9319 | |||||
* | Handle unset value attributes consistently depending on property existence. ↵ | timmywil | 2011-05-18 | 1 | -1/+3 | |
| | | | | Supplements #9328. | |||||
* | Make the value hook less obtrusive for elements which do not inherently have ↵ | timmywil | 2011-05-18 | 1 | -1/+2 | |
| | | | | a value property. Fixes #9328. | |||||
* | Switched title attribute to getAttributeNode for IE6/7. Fixes #9329. | timmywil | 2011-05-18 | 1 | -4/+6 | |
| | ||||||
* | Use getAttributeNode for ^on attributes in IE6/7 to avoid anonymous function ↵ | timmywil | 2011-05-16 | 1 | -2/+5 | |
| | | | | wrapper. Fixes #9298. | |||||
* | Retrieve the class attribute on a form in IE6/7. Fixes 9286. | timmywil | 2011-05-14 | 1 | -1/+4 | |
| | ||||||
* | Make sure setting boolean attributes to the same name sets the property to a ↵ | timmywil | 2011-05-13 | 1 | -1/+6 | |
| | | | | boolean type | |||||
* | Use prop to retrieve boolean properties (so the selected hook will be used) | timmywil | 2011-05-13 | 1 | -1/+7 | |
| | ||||||
* | Add fallback to prop for the window and document. Switch value to use the ↵ | timmywil | 2011-05-10 | 1 | -16/+20 | |
| | | | | property instead of the attribute for back compat. | |||||
* | Remove value check from formHook; other elements can use value hook | timmywil | 2011-05-07 | 1 | -1/+3 | |
| | ||||||
* | Set val before hide/show check and fix easing setting; also update ↵ | timmywil | 2011-05-07 | 1 | -3/+7 | |
| | | | | | | attributes test for autofocus - The object passed should not change so it can be used in future animates, updated src and tests accordingly. | |||||
* | Reduce the boolean list only to those that have corresponding IDLs that ↵ | timmywil | 2011-05-07 | 1 | -1/+1 | |
| | | | | | | don't require being added to propFix; only set the IDL if it exists - See http://jsfiddle.net/timmywil/u5NLn/ for how boolean attributes are handled in every browser. | |||||
* | Check empty string instead of specified as specified is inconsistent on the ↵ | timmywil | 2011-05-06 | 1 | -1/+3 | |
| | | | | name attribute. Fixes #9148. | |||||
* | Add support for the contenteditable attribute | timmywil | 2011-05-05 | 1 | -2/+6 | |
| | ||||||
* | Set the property corresponding to a boolean attribute when setting to true. ↵ | timmywil | 2011-05-04 | 1 | -1/+2 | |
| | | | | | | Fixes #9103. - Once boolean properties had been modified natively, setting the attribute no longer set the current value | |||||
* | Set corresponding property to false when removing boolean attributes. Fixes ↵ | timmywil | 2011-05-04 | 1 | -1/+6 | |
| | | | | #9094 | |||||
* | Update boolean check to avoid crashes, add all name fixes to propFix ↵ | timmywil | 2011-05-04 | 1 | -50/+75 | |
| | | | | (properties are case-sensitive in all browsers), add tests for prop | |||||
* | If no hook is provided, and a boolean property exists, use that to return an ↵ | John Resig | 2011-05-03 | 1 | -4/+29 | |
| | | | | attribute-style value for boolean attributes. Fixes #9079. | |||||
* | Fix setting value attributes on option elements. Fixes #9071. | timmywil | 2011-05-03 | 1 | -1/+3 | |
| | ||||||
* | Test for a colon in attribute names for IE6/7. Fixes #1591. | timmywil | 2011-05-01 | 1 | -1/+5 | |
| | ||||||
* | Add tests data- and aria- attributes and the autofocus boolean attribute and ↵ | timmywil | 2011-04-25 | 1 | -3/+11 | |
| | | | | some style updates in jQuery.attr | |||||
* | Landing pull request [337](https://github.com/jquery/jquery/pull/337). Value ↵ | timmywil | 2011-04-21 | 1 | -2/+6 | |
| | | | | of radio inputs resets when type is set after the value in all IEs. Fixes #8570 ([bug](http://bugs.jquery.com/ticket/8570)). | |||||
* | Only use getAttributeNode on buttons when setting value | timmywil | 2011-04-19 | 1 | -1/+2 | |
| | ||||||
* | Fix value attribute and val for value on button elements. Fixes #1954 | timmywil | 2011-04-17 | 1 | -2/+11 | |
| | ||||||
* | Switch QUnit div from depreceted #main to #qunit-fixture | timmywil | 2011-04-17 | 1 | -2/+2 | |
| | ||||||
* | Add support for setting the cellPadding attribute in IE6/7 | timmywil | 2011-04-14 | 1 | -0/+1 | |
| | ||||||
* | IE9's support for SVG elements unfortunately does not extend to ↵ | timmywil | 2011-04-13 | 1 | -1/+1 | |
| | | | | clearAttributes. Checks for its presence before proceeding. | |||||
* | VML.type test was causing multiple test suite fails, fix attributes.js fail ↵ | timmywil | 2011-04-12 | 1 | -7/+9 | |
| | | | | in IE6 where the val(String/Number) tests were interfering with the val(Function) tests | |||||
* | second batch | louisremi | 2011-04-11 | 1 | -182/+182 | |
| | ||||||
* | Had some stale code in test/unit/attributes.js | timmywil | 2011-04-10 | 1 | -4/+0 | |
| | ||||||
* | #8150 - When removing the width and height attributes in IE6/7, setting to ↵ | timmywil | 2011-04-09 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | "" actually sets to 0 instead of auto - Having fixed this automatically with the use of removeAttribute in browsers that support it, this will fix it for IE6/7 as well. - This has no effect on width/height styles set elsewhere( test added to removeAttr ) - With this addition, I need to call attr in removeAttr for IE6/7, which means boolean calls like .attr("checked", "") will no longer remove the attribute, which I think is fine. .attr("checked", false) will still remove. If I had left it, it would have gone in an infinite loop since setting to empty string is the only way to remove it in these browsers. - The hrefNormalized hooks were returning null if they weren't present. Added the null check to the getter. - Now that the style support fails in IE8 as well due to uppercasing everything, no need to have style included with the hrefNormalized hooks | |||||
* | IE8 testing for lowercasing the css properties on retrieving style; had ↵ | timmywil | 2011-04-09 | 1 | -2/+2 | |
| | | | | assumed the style support check failed in IE8, which it now does | |||||
* | Normalize css property names to lowercase for comparisons on a ↵ | timmywil | 2011-04-03 | 1 | -2/+2 | |
| | | | | .attr('style') call since IE uppercases everything | |||||
* | Found a problem removing the style attribute in IE | timmywil | 2011-04-03 | 1 | -4/+9 | |
| | | | | - Style is now a special case in IE6/7 to set cssText. My goal is to avoid calling attr again for the performance benefit, and at this point it would also cause an infinite loop for the boolean attributes hooks such as selected & checked. Nevertheless, style seems to be the only one requiring a special call. | |||||
* | #5413 - Much shorter solution for getting width/height in ie6 | timmywil | 2011-04-03 | 1 | -1/+5 | |
| | | | | - #8255 Added support for the list attribute in browsers that support it (it is automatically readonly, but can be set if using getAttribute( name, 2) | |||||
* | - Added a hook to swap display none for width and height in browsers that do ↵ | timmywil | 2011-04-03 | 1 | -4/+8 | |
| | | | | not sufficiently support get/setAttribute |