aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes.js
Commit message (Collapse)AuthorAgeFilesLines
* Clean up regexen; use common regex for numbers. Close gh-862.Richard Gibson2012-07-221-2/+2
|
* Revert "Fix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7."Dave Methvin2012-07-121-0/+8
| | | | | | This reverts commit e866893fd29b0328ebc282cf0ba716e6f87384c3. Failures in IE6 when this is removed, unfortunately.
* Fix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7.Dave Methvin2012-07-121-8/+0
| | | | At this point BlackBerry 4.7 (and related ancient browsers) should be scarce (released circa 2008) so #6932 will be closed wontfix for this edge case.
* Fix #11547. toLowerCase not work good on XML attributes.Dave Methvin2012-07-111-7/+2
| | | | This was fixed to some extent in gh-724 but there were insufficient test cases. Removing the lowercase completely allows IE 6/7 to work properly since there you need an exact case match for attributes, even in HTML docs. More discussion and test cases in the comments on gh-724.
* Fixes a variety of typographical problems. Closes gh-853Chris Faulkner2012-07-111-1/+1
|
* Follow the style guide, lose 72 bytes! Closes gh-840.Mike Sherov2012-07-091-4/+5
|
* Fix #12026. Let props in $(html, props) be any jQuery.fn method.Dave Methvin2012-07-051-12/+1
| | | | Closes gh-839.
* Use value rather than nodeValue in attributes (it's the string version). ↵timmywil2012-07-021-3/+3
| | | | Update sizzle: default attribute handling.
* Make removeClass smart enough to remove duplicates. Fixes #11923Rick Waldron2012-06-231-12/+11
|
* Interim take on cross-module variables, closes gh-817.Richard Gibson2012-06-151-5/+4
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Remove the tabindex attrHook. Fixes #8473timmywil2012-05-301-6/+0
|
* Fix 11547. XML and IE DOM can't be force-lowercase in removeAttr().Arne de Bree2012-04-101-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 ↵timmywil2012-03-051-3/+7
| | | | bytes compressed
* Fix #11316. Find valHooks first by element type, then by nodeName.Mathias Bynens2012-03-021-2/+2
| | | | Reverses the previous search order.
* Fixes #10828, .attr("coords") returns undefined in IE7Mike Sherov2012-03-021-1/+2
|
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-2/+2
|
* Microoptimization in jQuery.attr and remove the redundancy of return undefinedtimmywil2011-11-141-5/+5
|
* Landing pull request 600. Remove jQuery.trim() to restore perf. Supplements ↵Rick Waldron2011-11-141-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.Oleg2011-11-141-3/+3
|
* Cleanup spacing in attributes.js. Fixes #10601Rick Waldron2011-10-271-8/+8
|
* 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
|