Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Attribute hooks do not need to be attached in XML docs. Fixes #9568. | timmywil | 2011-06-13 | 1 | -14/+17 |
| | |||||
* | Check classes passed for duplicates. Fixes #9499. | timmywil | 2011-06-07 | 1 | -22/+25 |
| | |||||
* | Move the value attrHook to the main attrHooks object to save bytes | timmywil | 2011-05-26 | 1 | -20/+19 |
| | |||||
* | Landing pull request 382. Adds support for number values (meter,progress); ↵ | rwldrn | 2011-05-20 | 1 | -1/+7 |
| | | | | | | | | Fixes #9319. More Details: - https://github.com/jquery/jquery/pull/382 - http://bugs.jquery.com/ticket/9319 | ||||
* | Unnecessary var removed. | timmywil | 2011-05-18 | 1 | -1/+0 |
| | |||||
* | Handle unset value attributes consistently depending on property existence. ↵ | timmywil | 2011-05-18 | 1 | -3/+4 |
| | | | | Supplements #9328. | ||||
* | Make the value hook less obtrusive for elements which do not inherently have ↵ | timmywil | 2011-05-18 | 1 | -1/+3 |
| | | | | a value property. Fixes #9328. | ||||
* | Switched title attribute to getAttributeNode for IE6/7. Fixes #9329. | timmywil | 2011-05-18 | 1 | -1/+1 |
| | |||||
* | Use getAttributeNode for ^on attributes in IE6/7 to avoid anonymous function ↵ | timmywil | 2011-05-16 | 1 | -1/+1 |
| | | | | wrapper. Fixes #9298. | ||||
* | Retrieve the class attribute on a form in IE6/7. Fixes 9286. | timmywil | 2011-05-14 | 1 | -1/+3 |
| | |||||
* | Removing unnecessary argument type check for boolean hook | timmywil | 2011-05-13 | 1 | -2/+1 |
| | |||||
* | Make sure setting boolean attributes to the same name sets the property to a ↵ | timmywil | 2011-05-13 | 1 | -1/+1 |
| | | | | boolean type | ||||
* | Use prop to retrieve boolean properties (so the selected hook will be used) | timmywil | 2011-05-13 | 1 | -1/+1 |
| | |||||
* | Add fallback to prop for the window and document. Switch value to use the ↵ | timmywil | 2011-05-10 | 1 | -12/+35 |
| | | | | property instead of the attribute for back compat. | ||||
* | Remove value check from formHook; other elements can use value hook | timmywil | 2011-05-07 | 1 | -3/+0 |
| | |||||
* | Reduce the boolean list only to those that have corresponding IDLs that ↵ | timmywil | 2011-05-07 | 1 | -10/+17 |
| | | | | | | 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. | ||||
* | Global found in valHook for select(get) | timmywil | 2011-05-07 | 1 | -1/+2 |
| | |||||
* | Check empty string instead of specified as specified is inconsistent on the ↵ | timmywil | 2011-05-06 | 1 | -2/+2 |
| | | | | name attribute. Fixes #9148. | ||||
* | Reduce boolean attribute list to only content attributes | timmywil | 2011-05-06 | 1 | -1/+1 |
| | | | | - Removed IDL-only boolean attributes as well as officially deprecated attributes that we've not supported before | ||||
* | Update boolean attribute list to contain all boolean attributes listed in w3c | timmywil | 2011-05-05 | 1 | -1/+1 |
| | |||||
* | Add support for the contenteditable attribute | timmywil | 2011-05-05 | 1 | -1/+2 |
| | |||||
* | Construct boolHook and rboolean regex to deal with boolean attributes. Fixes ↵ | timmywil | 2011-05-05 | 1 | -39/+47 |
| | | | | | | | | | | | | #9129. Fixes #9123. - Construct regex for all attributes which are boolean attributes by specification. + This allows us to do what users expect with enumerated attributes and allows us to no longer complicate the issue. + People are just too confused with passing "true" instead of true when they should, so we won't have to worry about that anymore. - Modularize code for dealing with boolean attributes into a separate hook to keep attr short and fast. | ||||
* | Set the property corresponding to a boolean attribute when setting to true. ↵ | timmywil | 2011-05-04 | 1 | -2/+6 |
| | | | | | | Fixes #9103. - Once boolean properties had been modified natively, setting the attribute no longer set the current value | ||||
* | Run property names through propFix in removeProp | timmywil | 2011-05-04 | 1 | -0/+1 |
| | |||||
* | Set corresponding property to false when removing boolean attributes. Fixes ↵ | timmywil | 2011-05-04 | 1 | -0/+6 |
| | | | | #9094 | ||||
* | Update boolean check to avoid crashes, add all name fixes to propFix ↵ | timmywil | 2011-05-04 | 1 | -16/+20 |
| | | | | (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 | -7/+14 |
| | | | | attribute-style value for boolean attributes. Fixes #9079. | ||||
* | Fix setting value attributes on option elements. Fixes #9071. | timmywil | 2011-05-03 | 1 | -1/+1 |
| | |||||
* | Test for a colon in attribute names for IE6/7. Fixes #1591. | timmywil | 2011-05-01 | 1 | -2/+7 |
| | |||||
* | Restores var names to satisfy the crock-machine. Supplements #9008 | Rick Waldron | 2011-04-28 | 1 | -4/+4 |
| | |||||
* | Add tests data- and aria- attributes and the autofocus boolean attribute and ↵ | timmywil | 2011-04-25 | 1 | -3/+6 |
| | | | | some style updates in jQuery.attr | ||||
* | handle data- and aria- special | aFarkas | 2011-04-25 | 1 | -2/+3 |
| | |||||
* | dealing with boolean content attribute | aFarkas | 2011-04-25 | 1 | -15/+4 |
| | |||||
* | Switch the form nodeName check in attr to use jQuery.nodeName for consistency | timmywil | 2011-04-23 | 1 | -1/+1 |
| | |||||
* | Combine the support tests for radioValue and appendChecked | timmywil | 2011-04-22 | 1 | -0/+1 |
| | |||||
* | Landing pull request [337](https://github.com/jquery/jquery/pull/337). Value ↵ | timmywil | 2011-04-21 | 1 | -1/+9 |
| | | | | of radio inputs resets when type is set after the value in all IEs. Fixes #8570 ([bug](http://bugs.jquery.com/ticket/8570)). | ||||
* | Follow w3c standard for setting the common boolean attributes to the same ↵ | timmywil | 2011-04-19 | 1 | -1/+4 |
| | | | | name(selected, checked, readOnly, and disabled) | ||||
* | Only use getAttributeNode on buttons when setting value | timmywil | 2011-04-19 | 1 | -0/+3 |
| | |||||
* | Fix value attribute and val for value on button elements. Fixes #1954 | timmywil | 2011-04-17 | 1 | -3/+3 |
| | |||||
* | Add support for setting the cellPadding attribute in IE6/7 | timmywil | 2011-04-14 | 1 | -0/+1 |
| | |||||
* | retrieving list with getAttribute is fine, no need to add list here anymore | timmywil | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery | jeresig | 2011-04-10 | 1 | -14/+0 |
|\ | |||||
| * | Added back support.js test for getSetAttribute and removed some duplicate ↵ | timmywil | 2011-04-10 | 1 | -14/+0 |
| | | | | | | | | code that crept into attributes.js | ||||
* | | Merge branch 'modest_val_proposal' of https://github.com/timmywil/jquery ↵ | jeresig | 2011-04-10 | 1 | -74/+102 |
|\ \ | |/ |/| | | | | | | | | | into timmywil-modest_val_proposal Conflicts: src/attributes.js | ||||
| * | Performance testing: localize val to each block and only set val to value ↵ | timmywil | 2011-04-05 | 1 | -5/+6 |
| | | | | | | | | when not a function | ||||
| * | Remove the unused radiocheck regex | timmywil | 2011-04-04 | 1 | -2/+1 |
| | | |||||
| * | A more modest valHooks proposal | timmywil | 2011-04-02 | 1 | -73/+101 |
| | | | | | | | | | | | | | | | | | | | | | | | | - The main difference is that this does not allow arbitrarily adding hooks to any collection of elements. - Modularizes val into a set of easily maintainable and conditional hooks. - valHooks is placed at jQuery.valHooks + This could technically be extended, but I do not see it being used except in very rare cases since you can only apply valHooks to nodeNames and input types, and not a collection of elements as before. We could theoretically privatize valHooks taking it off of jQuery and only use it internally for our own convenience, but again, I do not believe this patch carries with it the dangers of the first proposal. - Slightly improved performance of val on radios and checkboxes for browsers that support checkOn, given the conditional attachment of its hook. | ||||
* | | Merge branch 'attrhooks.1.6v2' of https://github.com/timmywil/jquery into ↵ | jeresig | 2011-04-10 | 1 | -68/+148 |
|\ \ | | | | | | | | | | | | | | | | | | | timmywil-attrhooks.1.6v2 Conflicts: src/attributes.js | ||||
| * | | #8150 - When removing the width and height attributes in IE6/7, setting to ↵ | timmywil | 2011-04-09 | 1 | -12/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "" 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 | ||||
| * | | Normalize css property names to lowercase for comparisons on a ↵ | timmywil | 2011-04-03 | 1 | -1/+2 |
| | | | | | | | | | | | | .attr('style') call since IE uppercases everything |