jaubourg
391398cf23
Fixes #9221 . Wraps openings of html comments and CDATA blocks found at the beginning of inserted script elements into a javascript block comment so that the new implementation of globalEval will not throw an exception in IE (execScript being less lenient than eval). Unit tests added.
2011-05-11 14:13:07 +02:00
John Resig
2812a87da7
Updating Sizzle.
2011-05-10 13:37:05 -04:00
John Resig
c8374fafe5
Update sizzle.
2011-05-10 12:54:29 -04:00
John Resig
1ec003f10c
Fix tabs in delegate test.
2011-05-10 12:43:34 -04:00
John Resig
a5e407cafb
Make sure that data properties with hyphens are always accessed/set using camelCase. Fixes #9124 .
2011-05-10 11:56:42 -04:00
John Resig
419b5e5e2a
Make sure that mouseenter/mouseleave fire on the correct element when doing delegation. Fixes #9069 .
2011-05-10 11:49:32 -04:00
louisremi
521ae562da
Landing pull request 374. .animate() Callbacks should fire in correct order (unit test included). Fixes #9100 .
...
More Details:
- https://github.com/jquery/jquery/pull/374
- https://github.com/jquery/jquery/issues/9100
2011-05-10 11:22:12 -04:00
Sahab Yazdani
304dd618b7
Landing pull request 370. Fixes #8763 .
...
More Details:
- https://github.com/jquery/jquery/pull/370
- https://github.com/jquery/jquery/issues/8763
2011-05-10 11:20:22 -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
louisremi
076c347605
.animate() Callbacks should fire in correct order ( fix #9100 + unit test)
2011-05-09 17:35:51 +02:00
jaubourg
8c13cfa805
Fixes #9104 . Returning null or undefined in a pipe callback shouldn't end up throwing an exception. Silly, silly, me.
2011-05-09 10:01:20 +02:00
jaubourg
efd0fce7a1
Fixes #9109 . When jQuery is loaded in the body, then the fake body element used in support has to be inserted before the document's body for boxModel to be properly detected (got the hint by looking at the code in jQuery mobile). Test page added so that we can keep checking this.
2011-05-09 09:48:23 +02:00
timmywil
18b1cf2942
Remove value check from formHook; other elements can use value hook
2011-05-07 22:01:10 -04:00
timmywil
90f37aaf7a
Call extend on prop to avoid changing original properties so that per-property easing is not lost in multiple animations with the same props
2011-05-07 21:26:02 -04:00
timmywil
8bb6e95b66
Set val before hide/show check and fix easing setting; also update attributes test for autofocus
...
- The object passed should not change so it can be used in future animates, updated src and tests accordingly.
2011-05-07 20:46:38 -04:00
Daniel Pihlstrom
3d1c27d52e
Fix per-property easing. Fixes #9067
2011-05-07 19:28:07 -04:00
gnarf
31268449b9
Landing pull request 372. Test for numeric properties was using wrong variable. Fixes #9074 .
...
More Details:
- https://github.com/jquery/jquery/pull/372
2011-05-07 19:18:52 -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
c864455ccf
Global found in dataAttr function
2011-05-06 14:54:47 -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
f7f8450041
tmp was global in the new fn.promise. Fixes #9147 .
2011-05-06 12:10:16 -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
timmywil
5097e6d1c6
Construct boolHook and rboolean regex to deal with boolean attributes. Fixes #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.
2011-05-05 12:17:08 -04:00
timmywil
5195335cf4
Set the property corresponding to a boolean attribute when setting to true. Fixes #9103 .
...
- Once boolean properties had been modified natively, setting the attribute no longer set the current value
2011-05-04 15:53:00 -04:00
timmywil
3ed4b22073
Run property names through propFix in removeProp
2011-05-04 11:40:46 -04:00
timmywil
480b88ca37
Set corresponding property to false when removing boolean attributes. Fixes #9094
2011-05-04 11:29:38 -04:00
timmywil
97144424cc
Update boolean check to avoid crashes, add all name fixes to propFix (properties are case-sensitive in all browsers), add tests for prop
2011-05-04 00:31:01 -04:00
John Resig
a9d9f8c542
If no hook is provided, and a boolean property exists, use that to return an attribute-style value for boolean attributes. Fixes #9079 .
2011-05-03 21:44:42 -04:00
John Resig
bfad45fe45
Fix problem with appending multiple string arguments in IE 6. Fixes #9072 .
2011-05-03 15:02:26 -04:00
timmywil
4ac2fdda2c
Fix setting value attributes on option elements. Fixes #9071 .
2011-05-03 14:48:36 -04:00
John Resig
ca338dc749
Check for #8984 wasn't strong enough, enhanced.
2011-05-02 13:31:23 -04:00
John Resig
6c449fd5df
Make sure that empty nodelists continue to map properly. Fixes #8993 .
2011-05-02 13:25:53 -04:00
John Resig
86aa764f0b
Change check for skipping the initial quickExpr RegExp check. Fixes #8984 .
2011-05-02 13:14:13 -04:00
timmywil
f1392d8208
Set background to none on our mock body and remove its contents to avoid a crash in IE when removing it. Fixes #9028 .
2011-05-02 11:57:01 -04:00
timmywil
24a8ffb3ea
Test for a colon in attribute names for IE6/7. Fixes #1591 .
2011-05-01 17:09:50 -04:00
Rick Waldron
bf678fd9d6
Restores var names to satisfy the crock-machine. Supplements #9008
2011-04-28 22:26:34 -04:00
Rick Waldron
ca367674c1
Restored /g flag to rspaces; Adds unit tests; Supplements #9008
2011-04-28 21:15:45 -04:00
rwldrn
57f56be04f
Make cached rspaces regex definitions consistent. Fixes #9008
2011-04-28 16:06:13 -04:00
Rick Waldron
08f52d69bd
jQuery.support core style guide correction. Fixes #8978
2011-04-26 09:45:27 -04:00
timmywil
5165033883
Add tests data- and aria- attributes and the autofocus boolean attribute and some style updates in jQuery.attr
2011-04-25 12:41:12 -04:00
aFarkas
83e9ce95d7
handle data- and aria- special
2011-04-25 12:41:12 -04:00
aFarkas
9559b1a294
dealing with boolean content attribute
2011-04-25 12:41:12 -04:00
Jordan Boesch
02ad0aa3b6
Landing pull request 344. using jQuery.nodeName where applicable.
...
More Details:
- https://github.com/jquery/jquery/pull/344
2011-04-23 17:58:56 -04:00
timmywil
15ccae91db
Switch the form nodeName check in attr to use jQuery.nodeName for consistency
2011-04-23 13:56:51 -04:00
timmywil
bc7bb0df28
Merge branch 'master' of github.com:jquery/jquery
2011-04-22 00:28:11 -04:00
timmywil
2942be780f
Combine the support tests for radioValue and appendChecked
2011-04-22 00:27:52 -04:00
Rick Waldron
3d9445e3fc
Landing pull request 340. Adds widows, orphans to cssNumber hash; includes tests. Fixes #8936 .
...
More Details:
- https://github.com/jquery/jquery/pull/340
- http://bugs.jquery.com/ticket/8936
2011-04-22 00:02:08 -04:00