Rick Waldron
|
7c23b77af2
|
Strips IIFEs from modules; Always require built jQuery for tests.
|
2012-06-04 12:48:18 -04:00 |
|
timmywil
|
3e2a77c5e8
|
Remove the tabindex attrHook. Fixes #8473
|
2012-05-30 13:46:50 -04:00 |
|
Arne de Bree
|
0e2642d216
|
Fix 11547. XML and IE DOM can't be force-lowercase in removeAttr().
See discussion on pull request: https://github.com/jquery/jquery/pull/724
|
2012-04-10 18:25:04 -04:00 |
|
timmywil
|
d3320462df
|
Do not set boolean attributes to empty string on removal. Fixes #10870. +0 bytes compressed
|
2012-03-05 12:54:44 -05:00 |
|
Mathias Bynens
|
2803a5e6f2
|
Fix #11316. Find valHooks first by element type, then by nodeName.
Reverses the previous search order.
|
2012-03-02 13:28:27 -05:00 |
|
Mike Sherov
|
da02e190b5
|
Fixes #10828, .attr("coords") returns undefined in IE7
|
2012-03-02 11:08:52 -05:00 |
|
Richard Gibson
|
6c2a501de4
|
Fix #5571. Setters should treat undefined as a no-op and be chainable.
|
2011-12-06 15:25:38 -05:00 |
|
timmywil
|
20cbf1b123
|
Microoptimization in jQuery.attr and remove the redundancy of return undefined
|
2011-11-14 12:31:28 -05:00 |
|
Rick Waldron
|
a8460d24e0
|
Landing pull request 600. Remove jQuery.trim() to restore perf. Supplements #10773.
More Details:
- https://github.com/jquery/jquery/pull/600
- http://bugs.jquery.com/ticket/10773
|
2011-11-14 12:24:58 -05:00 |
|
Oleg
|
a467aa0a77
|
Fix #10773. Improve parameter handling in removeAttr.
|
2011-11-14 11:30:53 -05:00 |
|
Rick Waldron
|
9ea21faf8f
|
Cleanup spacing in attributes.js. Fixes #10601
|
2011-10-27 15:28:14 -04:00 |
|
timmywil
|
c51b29477e
|
Support setting both the enctype attribute and property (encoding in IE6/7). Fixes #6743.
|
2011-10-22 16:03:57 -04:00 |
|
timmywil
|
f2c1d2e016
|
Use the property name in elem.removeAttribute in IE6/7 to ensure correct removals. Fixes #10514.
|
2011-10-17 16:45:37 -04:00 |
|
timmywil
|
ce8d9c0ca5
|
Add a hook for removing contenteditable in IE6/7 and remove the unnecessary jQuery.attrFix. Fixes #10429.
|
2011-10-06 17:17:51 -04:00 |
|
Rick Waldron
|
ca4133cc3f
|
Landing pull request 492. 1.7 Remove multiple attributes (Symmetry with 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
|
2011-09-19 21:07:07 -04:00 |
|
Rick Waldron
|
af1dc64bee
|
Landing pull request 510. Add notes about #9699 fix.
More Details:
- https://github.com/jquery/jquery/pull/510
- http://bugs.jquery.com/ticket/9699
|
2011-09-19 15:54:07 -04:00 |
|
timmywil
|
daeb665045
|
Check for property support in the boolHook before falling back to attribute node. Fixes #10278.
|
2011-09-19 15:42:32 -04:00 |
|
timmywil
|
92405d4f5f
|
Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637, #7128, #9261, #9570, #10178.
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
|
2011-09-19 15:42:30 -04:00 |
|
Rick Waldron
|
bc65f930b5
|
Fixes typo
|
2011-09-19 09:41:55 -04:00 |
|
Rick Waldron
|
6174612daa
|
Add notes about #9699 fix
|
2011-09-18 20:15:35 -04:00 |
|
Rick Waldron
|
7856230f67
|
Removes whitespace junk
|
2011-09-18 20:15:18 -04:00 |
|
timmywil
|
d723942b27
|
Revert back to always setting the attribute to empty string before removal. Fixes #9699.
|
2011-08-25 15:33:54 -04:00 |
|
timmywil
|
700c16b085
|
Remove unnecessary regex
|
2011-08-04 18:16:15 -04:00 |
|
timmywil
|
8c2cb49917
|
Now using getAttributeNode in all attribute cases in IE6/7, which normalizes attribute behaviors across browsers, is less hacky, and shortens the attribute code. Fixes #9980.
|
2011-08-04 18:16:15 -04:00 |
|
timmywil
|
fd4ee2a397
|
Make the tabIndex hook first a propHook and add it to attrHooks for back-compat reasons. Fixes #9979.
|
2011-08-04 18:16:15 -04:00 |
|
Dave Methvin
|
6a3395afcd
|
Merge pull request #419 from rwldrn/9630
Unit tests assert that .contents().hasClass() works as expected. Fixes #9630
|
2011-08-04 14:33:52 -07:00 |
|
timmywil
|
1886d74434
|
Check the attribute node value for false for HTML5 booleans when not supported. Fixes #9504.
|
2011-07-09 14:52:16 -04:00 |
|
rwldrn
|
bb1702518e
|
Filter hasClass by nodeType 1; Fixes #9630
|
2011-06-22 08:50:44 -04:00 |
|
timmywil
|
96501d38a9
|
Allow similarly named classes (regression from 9499) and switch class retrieval to property when passing class to value functions. Fixes #9617.
|
2011-06-19 18:58:47 -04:00 |
|
timmywil
|
641ad80211
|
Attribute hooks do not need to be attached in XML docs. Fixes #9568.
|
2011-06-13 10:02:13 -04:00 |
|
timmywil
|
db437be6e3
|
Check classes passed for duplicates. Fixes #9499.
|
2011-06-07 21:00:44 -04:00 |
|
timmywil
|
1d202c6afc
|
Move the value attrHook to the main attrHooks object to save bytes
|
2011-05-26 16:51:41 -04:00 |
|
rwldrn
|
f82b9dddc4
|
Landing pull request 382. Adds support for number values (meter,progress); Fixes #9319.
More Details:
- https://github.com/jquery/jquery/pull/382
- http://bugs.jquery.com/ticket/9319
|
2011-05-20 11:03:33 -04:00 |
|
timmywil
|
a1545b5079
|
Unnecessary var removed.
|
2011-05-18 11:59:21 -04:00 |
|
timmywil
|
25118e22a2
|
Handle unset value attributes consistently depending on property existence. Supplements #9328.
|
2011-05-18 11:46:22 -04:00 |
|
timmywil
|
ba90af0dc5
|
Make the value hook less obtrusive for elements which do not inherently have a value property. Fixes #9328.
|
2011-05-18 11:29:25 -04:00 |
|
timmywil
|
7d3ba9f89e
|
Switched title attribute to getAttributeNode for IE6/7. Fixes #9329.
|
2011-05-18 11:05:20 -04:00 |
|
timmywil
|
a5cf257a8a
|
Use getAttributeNode for ^on attributes in IE6/7 to avoid anonymous function wrapper. Fixes #9298.
|
2011-05-16 10:17:50 -04:00 |
|
timmywil
|
6171e0a923
|
Retrieve the class attribute on a form in IE6/7. Fixes 9286.
|
2011-05-14 12:07:40 -04:00 |
|
timmywil
|
cf702496ee
|
Removing unnecessary argument type check for boolean hook
|
2011-05-13 13:47:44 -04:00 |
|
timmywil
|
bc82ff0ff9
|
Make sure setting boolean attributes to the same name sets the property to a boolean type
|
2011-05-13 13:39:38 -04:00 |
|
timmywil
|
6f676e692d
|
Use prop to retrieve boolean properties (so the selected hook will be used)
|
2011-05-13 13:33:43 -04:00 |
|
timmywil
|
4526c8b0a0
|
Add fallback to prop for the window and document. Switch value to use the property instead of the attribute for back compat.
|
2011-05-10 00:28:02 -04:00 |
|
timmywil
|
18b1cf2942
|
Remove value check from formHook; other elements can use value hook
|
2011-05-07 22:01:10 -04:00 |
|
timmywil
|
c085563270
|
Reduce the boolean list only to those that have corresponding IDLs that 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.
|
2011-05-07 14:49:04 -04:00 |
|
timmywil
|
09c0cf995b
|
Global found in valHook for select(get)
|
2011-05-07 11:48:42 -04:00 |
|
timmywil
|
c72b0f3256
|
Check empty string instead of specified as specified is inconsistent on the name attribute. Fixes #9148.
|
2011-05-06 13:49:20 -04:00 |
|
timmywil
|
a257e07ae4
|
Reduce boolean attribute list to only content attributes
- Removed IDL-only boolean attributes as well as officially deprecated attributes that we've not supported before
|
2011-05-06 10:53:05 -04:00 |
|
timmywil
|
f30cd4155e
|
Update boolean attribute list to contain all boolean attributes listed in w3c
|
2011-05-05 14:37:59 -04:00 |
|
timmywil
|
cccf9ad91d
|
Add support for the contenteditable attribute
|
2011-05-05 12:52:04 -04:00 |
|