aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.js
Commit message (Collapse)AuthorAgeFilesLines
* Support setting both the enctype attribute and property (encoding in IE6/7). ↵timmywil2011-10-221-1/+7
| | | | Fixes #6743.
* Use the property name in elem.removeAttribute in IE6/7 to ensure correct ↵timmywil2011-10-171-16/+22
| | | | removals. Fixes #10514.
* Add a hook for removing contenteditable in IE6/7 and remove the unnecessary ↵timmywil2011-10-061-23/+20
| | | | jQuery.attrFix. Fixes #10429.
* Landing pull request 492. 1.7 Remove multiple attributes (Symmetry with ↵Rick Waldron2011-09-191-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 Waldron2011-09-191-10/+11
|\ | | | | | | | | | | More Details: - https://github.com/jquery/jquery/pull/510 - http://bugs.jquery.com/ticket/9699
| * Fixes typoRick Waldron2011-09-191-1/+1
| |
| * Add notes about #9699 fixRick Waldron2011-09-181-0/+1
| |
| * Removes whitespace junkRick Waldron2011-09-181-11/+11
| |
* | Check for property support in the boolHook before falling back to attribute ↵timmywil2011-09-191-2/+3
| | | | | | | | node. Fixes #10278.
* | Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, ↵timmywil2011-09-191-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. ↵timmywil2011-08-251-8/+3
| | | | Fixes #9699.
* Remove unnecessary regextimmywil2011-08-041-1/+0
|
* Now using getAttributeNode in all attribute cases in IE6/7, which normalizes ↵timmywil2011-08-041-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 ↵timmywil2011-08-041-15/+20
| | | | back-compat reasons. Fixes #9979.
* Merge pull request #419 from rwldrn/9630Dave Methvin2011-08-041-1/+1
|\ | | | | Unit tests assert that .contents().hasClass() works as expected. Fixes #9630
| * Filter hasClass by nodeType 1; Fixes #9630rwldrn2011-06-221-1/+1
| |
* | Check the attribute node value for false for HTML5 booleans when not ↵timmywil2011-07-091-1/+3
|/ | | | supported. Fixes #9504.
* Allow similarly named classes (regression from 9499) and switch class ↵timmywil2011-06-191-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.timmywil2011-06-131-14/+17
|
* Check classes passed for duplicates. Fixes #9499.timmywil2011-06-071-22/+25
|
* Move the value attrHook to the main attrHooks object to save bytestimmywil2011-05-261-20/+19
|
* Landing pull request 382. Adds support for number values (meter,progress); ↵rwldrn2011-05-201-1/+7
| | | | | | | | Fixes #9319. More Details: - https://github.com/jquery/jquery/pull/382 - http://bugs.jquery.com/ticket/9319
* Unnecessary var removed.timmywil2011-05-181-1/+0
|
* Handle unset value attributes consistently depending on property existence. ↵timmywil2011-05-181-3/+4
| | | | Supplements #9328.
* Make the value hook less obtrusive for elements which do not inherently have ↵timmywil2011-05-181-1/+3
| | | | a value property. Fixes #9328.
* Switched title attribute to getAttributeNode for IE6/7. Fixes #9329.timmywil2011-05-181-1/+1
|
* Use getAttributeNode for ^on attributes in IE6/7 to avoid anonymous function ↵timmywil2011-05-161-1/+1
| | | | wrapper. Fixes #9298.
* Retrieve the class attribute on a form in IE6/7. Fixes 9286.timmywil2011-05-141-1/+3
|
* Removing unnecessary argument type check for boolean hooktimmywil2011-05-131-2/+1
|
* Make sure setting boolean attributes to the same name sets the property to a ↵timmywil2011-05-131-1/+1
| | | | boolean type
* Use prop to retrieve boolean properties (so the selected hook will be used)timmywil2011-05-131-1/+1
|
* Add fallback to prop for the window and document. Switch value to use the ↵timmywil2011-05-101-12/+35
| | | | property instead of the attribute for back compat.
* Remove value check from formHook; other elements can use value hooktimmywil2011-05-071-3/+0
|
* Reduce the boolean list only to those that have corresponding IDLs that ↵timmywil2011-05-071-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)timmywil2011-05-071-1/+2
|
* Check empty string instead of specified as specified is inconsistent on the ↵timmywil2011-05-061-2/+2
| | | | name attribute. Fixes #9148.
* Reduce boolean attribute list to only content attributestimmywil2011-05-061-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 w3ctimmywil2011-05-051-1/+1
|
* Add support for the contenteditable attributetimmywil2011-05-051-1/+2
|
* Construct boolHook and rboolean regex to deal with boolean attributes. Fixes ↵timmywil2011-05-051-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. ↵timmywil2011-05-041-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 removeProptimmywil2011-05-041-0/+1
|
* Set corresponding property to false when removing boolean attributes. Fixes ↵timmywil2011-05-041-0/+6
| | | | #9094
* Update boolean check to avoid crashes, add all name fixes to propFix ↵timmywil2011-05-041-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 Resig2011-05-031-7/+14
| | | | attribute-style value for boolean attributes. Fixes #9079.
* Fix setting value attributes on option elements. Fixes #9071.timmywil2011-05-031-1/+1
|
* Test for a colon in attribute names for IE6/7. Fixes #1591.timmywil2011-05-011-2/+7
|
* Restores var names to satisfy the crock-machine. Supplements #9008Rick Waldron2011-04-281-4/+4
|
* Add tests data- and aria- attributes and the autofocus boolean attribute and ↵timmywil2011-04-251-3/+6
| | | | some style updates in jQuery.attr
* handle data- and aria- specialaFarkas2011-04-251-2/+3
|