Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove the tabindex attrHook. Fixes #8473 | timmywil | 2012-05-30 | 1 | -6/+0 | |
| | ||||||
* | Fix 11547. XML and IE DOM can't be force-lowercase in removeAttr(). | Arne de Bree | 2012-04-10 | 1 | -1/+6 | |
| | | | | See discussion on pull request: https://github.com/jquery/jquery/pull/724 | |||||
* | Do not set boolean attributes to empty string on removal. Fixes #10870. +0 ↵ | timmywil | 2012-03-05 | 1 | -3/+7 | |
| | | | | bytes compressed | |||||
* | Fix #11316. Find valHooks first by element type, then by nodeName. | Mathias Bynens | 2012-03-02 | 1 | -2/+2 | |
| | | | | Reverses the previous search order. | |||||
* | Fixes #10828, .attr("coords") returns undefined in IE7 | Mike Sherov | 2012-03-02 | 1 | -1/+2 | |
| | ||||||
* | Fix #5571. Setters should treat `undefined` as a no-op and be chainable. | Richard Gibson | 2011-12-06 | 1 | -2/+2 | |
| | ||||||
* | Microoptimization in jQuery.attr and remove the redundancy of return undefined | timmywil | 2011-11-14 | 1 | -5/+5 | |
| | ||||||
* | Landing pull request 600. Remove jQuery.trim() to restore perf. Supplements ↵ | Rick Waldron | 2011-11-14 | 1 | -9/+12 | |
| | | | | | | | | #10773. More Details: - https://github.com/jquery/jquery/pull/600 - http://bugs.jquery.com/ticket/10773 | |||||
* | Fix #10773. Improve parameter handling in removeAttr. | Oleg | 2011-11-14 | 1 | -3/+3 | |
| | ||||||
* | Cleanup spacing in attributes.js. Fixes #10601 | Rick Waldron | 2011-10-27 | 1 | -8/+8 | |
| | ||||||
* | Support setting both the enctype attribute and property (encoding in IE6/7). ↵ | timmywil | 2011-10-22 | 1 | -1/+7 | |
| | | | | Fixes #6743. | |||||
* | Use the property name in elem.removeAttribute in IE6/7 to ensure correct ↵ | timmywil | 2011-10-17 | 1 | -16/+22 | |
| | | | | removals. Fixes #10514. | |||||
* | Add a hook for removing contenteditable in IE6/7 and remove the unnecessary ↵ | timmywil | 2011-10-06 | 1 | -23/+20 | |
| | | | | jQuery.attrFix. Fixes #10429. | |||||
* | Landing pull request 492. 1.7 Remove multiple attributes (Symmetry with ↵ | Rick Waldron | 2011-09-19 | 1 | -9/+17 | |
| | | | | | | | | removeClass) Combines patches submitted by leeoniya, zertosh and my own tests. Fixes #5479. More Details: - https://github.com/jquery/jquery/pull/492 - http://bugs.jquery.com/ticket/5479 | |||||
* | Landing pull request 510. Add notes about #9699 fix. | Rick Waldron | 2011-09-19 | 1 | -10/+11 | |
|\ | | | | | | | | | | | More Details: - https://github.com/jquery/jquery/pull/510 - http://bugs.jquery.com/ticket/9699 | |||||
| * | Fixes typo | Rick Waldron | 2011-09-19 | 1 | -1/+1 | |
| | | ||||||
| * | Add notes about #9699 fix | Rick Waldron | 2011-09-18 | 1 | -0/+1 | |
| | | ||||||
| * | Removes whitespace junk | Rick Waldron | 2011-09-18 | 1 | -11/+11 | |
| | | ||||||
* | | Check for property support in the boolHook before falling back to attribute ↵ | timmywil | 2011-09-19 | 1 | -2/+3 | |
| | | | | | | | | node. Fixes #10278. | |||||
* | | Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, ↵ | timmywil | 2011-09-19 | 1 | -4/+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/+3 | |
| | | | | Fixes #9699. | |||||
* | Remove unnecessary regex | timmywil | 2011-08-04 | 1 | -1/+0 | |
| | ||||||
* | Now using getAttributeNode in all attribute cases in IE6/7, which normalizes ↵ | timmywil | 2011-08-04 | 1 | -23/+18 | |
| | | | | 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 | -15/+20 | |
| | | | | back-compat reasons. Fixes #9979. | |||||
* | Merge pull request #419 from rwldrn/9630 | Dave Methvin | 2011-08-04 | 1 | -1/+1 | |
|\ | | | | | 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 | |
| | | ||||||
* | | Check the attribute node value for false for HTML5 booleans when not ↵ | timmywil | 2011-07-09 | 1 | -1/+3 | |
|/ | | | | supported. Fixes #9504. | |||||
* | Allow similarly named classes (regression from 9499) and switch class ↵ | timmywil | 2011-06-19 | 1 | -11/+9 | |
| | | | | 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 | -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. |